#DD2C8A

A color in the Purple, Crimson, Magenta family

#dd2c8a is a color in the Purple, Crimson, Magenta family: RGB(221, 44, 138), HSL(328°, 72%, 52%), CMYK(0%, 80%, 38%, 13%). Closest named color: mediumvioletred. Contrast is 4.37:1 on white and 4.8:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#dd2c8a
RGBrgb(221 44 138)
RGB (legacy)rgb(221, 44, 138)
RGB %rgb(87% 17% 54%)
HSLhsl(328 72% 52%)
HSV / HSBhsv(328, 80%, 87%)
HWBhwb(328 17% 13%)
CMYKcmyk(0%, 80%, 38%, 13%)
CIELAB (D50)lab(51.19 70.86 -7.6)
LCHlch(51.19 71.27 353.88)
OKLaboklab(0.6044 0.2213 -0.0224)
OKLCHoklch(0.6044 0.2224 354.21)
Decimal14494858

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 5.4
Closest web-safe color#cc3399
Hue328°
Saturation (HSL / HSV)72% / 80%
Lightness (HSL)52%
Brightness or Value (HSV)87%
Luminance (Rec.601 / Rec.709)42% / 35%
Relative luminance (WCAG)0.1901
Red / Green / Blue221 / 44 / 138

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.37:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.80:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 68.7 / -33 · As background with white / black text: Lc -74.2 / 35.4

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #dd2c8a;
  --color-brand-oklch: oklch(60.44% 0.2224 354.21);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(221 44 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dd2c8a] text-[#dd2c8a] border-[#dd2c8a]">