#D239A6#D239A6

#D239A6 is a mid, highly saturated pink. Relative luminance 0.194; OKLCH L 60.7% C 0.217 H 342.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#D239A6
RGBrgb(210, 57, 166)
HSLhsl(317, 63%, 52%)
HSVhsv(317, 73%, 82%)
CMYKcmyk(0%, 72.9%, 21%, 17.6%)
CIE-LABlab(51.13, 68.76, -25.03)
CIE-LCHlch(51.13, 73.17, 340.00°)
OKLaboklab(60.75% 0.2064 -0.0672)
OKLCHoklch(60.75% 0.217 342)
XYZxyz(34.9256, 19.3846, 37.9713)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D239A6 #39D265
analogous
#B239D2 #D239A6 #D23959
triadic
#D239A6 #A6D239 #39A6D2
tetradic
#D239A6 #D2B239 #39D265 #3959D2
square
#D239A6 #D2B239 #39D265 #3959D2
split-complementary
#D239A6 #59D239 #39D2B2
monochromatic
#761B5C #A82682 #D239A6 #DD6BBC #E99DD3

Accessibility & contrast

On white

4.31
#D239A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#D239A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D239A6
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D239A6#FFFFFF#000000##000000
##D239A61.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#476AA9
Deuteranopia (green-blind)
#7783A2
Tritanopia (blue-blind)
#DF3B6B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d239a6;
/* rgb */ color: rgb(210, 57, 166);
/* oklch */ color: oklch(60.7% 0.217 342.0);
Tailwind
colors: {
  custom: {
    50: '#e47dc0',
    500: '#d239a6',
    950: '#000000',
  },
}
SCSS
$custom: #d239a6;
$custom-light: #e47dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#d239a6",
  "rgb": {
    "r": 210,
    "g": 57,
    "b": 166
  },
  "hsl": {
    "h": 317.255,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60748,
    "c": 0.21703,
    "h": 342
  },
  "luminance": 0.19381
}

Semantic roles & 50–950 ramp

primary
#D239A6
secondary
#92D5A5
accent
#E67142
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D239A6

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

Preview Lab → · Contrast checker → · Palette generator →

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