#D239A8#D239A8

#D239A8 is a mid, highly saturated pink. Relative luminance 0.195; OKLCH L 60.8% C 0.218 H 341.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#D239A8
RGBrgb(210, 57, 168)
HSLhsl(316, 63%, 52%)
HSVhsv(316, 73%, 82%)
CMYKcmyk(0%, 72.9%, 20%, 17.6%)
CIE-LABlab(51.22, 69.02, -26.07)
CIE-LCHlch(51.22, 73.78, 339.31°)
OKLaboklab(60.84% 0.2067 -0.0702)
OKLCHoklch(60.84% 0.218 341.2)
XYZxyz(35.1104, 19.4586, 38.9450)
Luminance0.1946 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D239A8 #39D263
analogous
#B039D2 #D239A8 #D2395B
triadic
#D239A8 #A8D239 #39A8D2
tetradic
#D239A8 #D2B039 #39D263 #395BD2
square
#D239A8 #D2B039 #39D263 #395BD2
split-complementary
#D239A8 #5BD239 #39D2B0
monochromatic
#761B5D #A82684 #D239A8 #DD6BBE #E99DD4

Accessibility & contrast

On white

4.29
#D239A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#D239A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D239A8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D239A8#FFFFFF#000000##000000
##D239A81.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#466AAB
Deuteranopia (green-blind)
#7683A4
Tritanopia (blue-blind)
#DF3C6C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d239a8;
/* rgb */ color: rgb(210, 57, 168);
/* oklch */ color: oklch(60.8% 0.218 341.2);
Tailwind
colors: {
  custom: {
    50: '#e47dc2',
    500: '#d239a8',
    950: '#000000',
  },
}
SCSS
$custom: #d239a8;
$custom-light: #e47dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#d239a8",
  "rgb": {
    "r": 210,
    "g": 57,
    "b": 168
  },
  "hsl": {
    "h": 316.471,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60838,
    "c": 0.21825,
    "h": 341.2
  },
  "luminance": 0.19455
}

Semantic roles & 50–950 ramp

primary
#D239A8
secondary
#92D5A4
accent
#E66F42
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D239A8

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

Preview Lab → · Contrast checker → · Palette generator →

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