#D239AC#D239AC

#D239AC is a mid, highly saturated pink. Relative luminance 0.196; OKLCH L 61.0% C 0.221 H 339.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#D239AC
RGBrgb(210, 57, 172)
HSLhsl(315, 63%, 52%)
HSVhsv(315, 73%, 82%)
CMYKcmyk(0%, 72.9%, 18.1%, 17.6%)
CIE-LABlab(51.39, 69.55, -28.16)
CIE-LCHlch(51.39, 75.04, 337.96°)
OKLaboklab(61.02% 0.2073 -0.0761)
OKLCHoklch(61.02% 0.221 339.9)
XYZxyz(35.4888, 19.6099, 40.9378)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D239AC #39D25F
analogous
#AC39D2 #D239AC #D23960
triadic
#D239AC #ACD239 #39ACD2
tetradic
#D239AC #D2AC39 #39D25F #3960D2
square
#D239AC #D2AC39 #39D25F #3960D2
split-complementary
#D239AC #60D239 #39D2AC
monochromatic
#761B5F #A82688 #D239AC #DD6BC1 #E99DD6

Accessibility & contrast

On white

4.27
#D239AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#D239AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D239AC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D239AC#FFFFFF#000000##000000
##D239AC1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#436BAF
Deuteranopia (green-blind)
#7583A8
Tritanopia (blue-blind)
#DE3E6E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d239ac;
/* rgb */ color: rgb(210, 57, 172);
/* oklch */ color: oklch(61.0% 0.221 339.9);
Tailwind
colors: {
  custom: {
    50: '#e47dc5',
    500: '#d239ac',
    950: '#000000',
  },
}
SCSS
$custom: #d239ac;
$custom-light: #e47dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#d239ac",
  "rgb": {
    "r": 210,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 314.902,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61021,
    "c": 0.22077,
    "h": 339.9
  },
  "luminance": 0.19606
}

Semantic roles & 50–950 ramp

primary
#D239AC
secondary
#92D5A3
accent
#E66B42
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D239AC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D239AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva