#D02EA9#D02EA9

#D02EA9 is a mid, highly saturated pink. Relative luminance 0.182; OKLCH L 59.7% C 0.229 H 340.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#D02EA9
RGBrgb(208, 46, 169)
HSLhsl(314, 64%, 50%)
HSVhsv(314, 78%, 82%)
CMYKcmyk(0%, 77.9%, 18.8%, 18.4%)
CIE-LABlab(49.78, 71.95, -28.93)
CIE-LCHlch(49.78, 77.54, 338.09°)
OKLaboklab(59.75% 0.2149 -0.0782)
OKLCHoklch(59.75% 0.229 340)
XYZxyz(34.1519, 18.2319, 39.2490)
Luminance0.1823 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02EA9 #2ED055
analogous
#A62ED0 #D02EA9 #D02E58
triadic
#D02EA9 #A9D02E #2EA9D0
tetradic
#D02EA9 #D0A62E #2ED055 #2E58D0
square
#D02EA9 #D0A62E #2ED055 #2E58D0
split-complementary
#D02EA9 #58D02E #2ED0A6
monochromatic
#6C1858 #9E2380 #D02EA9 #DC5FBE #E792D2

Accessibility & contrast

On white

4.52
#D02EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#D02EA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02EA9
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02EA9#FFFFFF#000000##000000
##D02EA91.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B66AC
Deuteranopia (green-blind)
#717FA5
Tritanopia (blue-blind)
#DC3469
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d02ea9;
/* rgb */ color: rgb(208, 46, 169);
/* oklch */ color: oklch(59.7% 0.229 340.0);
Tailwind
colors: {
  custom: {
    50: '#e379c3',
    500: '#d02ea9',
    950: '#000000',
  },
}
SCSS
$custom: #d02ea9;
$custom-light: #e379c3;
$custom-dark: #000000;
JSON
{
  "hex": "#d02ea9",
  "rgb": {
    "r": 208,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 314.444,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59745,
    "c": 0.2287,
    "h": 340
  },
  "luminance": 0.18228
}

Semantic roles & 50–950 ramp

primary
#D02EA9
secondary
#88D29A
accent
#E76941
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160A12
muted
#847C81

Preview Lab

Preview with #D02EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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