#D02EA6#D02EA6

#D02EA6 is a mid, highly saturated pink. Relative luminance 0.181; OKLCH L 59.6% C 0.227 H 341.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#D02EA6
RGBrgb(208, 46, 166)
HSLhsl(316, 64%, 50%)
HSVhsv(316, 78%, 82%)
CMYKcmyk(0%, 77.9%, 20.2%, 18.4%)
CIE-LABlab(49.64, 71.56, -27.37)
CIE-LCHlch(49.64, 76.61, 339.07°)
OKLaboklab(59.61% 0.2145 -0.0738)
OKLCHoklch(59.61% 0.227 341)
XYZxyz(33.8735, 18.1206, 37.7827)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02EA6 #2ED058
analogous
#A92ED0 #D02EA6 #D02E55
triadic
#D02EA6 #A6D02E #2EA6D0
tetradic
#D02EA6 #D0A92E #2ED058 #2E55D0
square
#D02EA6 #D0A92E #2ED058 #2E55D0
split-complementary
#D02EA6 #55D02E #2ED0A9
monochromatic
#6C1856 #9E237E #D02EA6 #DC5FBC #E792D1

Accessibility & contrast

On white

4.54
#D02EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#D02EA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02EA6
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02EA6#FFFFFF#000000##000000
##D02EA61.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D66A9
Deuteranopia (green-blind)
#727FA2
Tritanopia (blue-blind)
#DD3268
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d02ea6;
/* rgb */ color: rgb(208, 46, 166);
/* oklch */ color: oklch(59.6% 0.227 341.0);
Tailwind
colors: {
  custom: {
    50: '#e379c0',
    500: '#d02ea6',
    950: '#000000',
  },
}
SCSS
$custom: #d02ea6;
$custom-light: #e379c0;
$custom-dark: #000000;
JSON
{
  "hex": "#d02ea6",
  "rgb": {
    "r": 208,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 315.556,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59605,
    "c": 0.22686,
    "h": 341
  },
  "luminance": 0.18117
}

Semantic roles & 50–950 ramp

primary
#D02EA6
secondary
#88D29B
accent
#E76C41
background
#FEF7FB
surface
#FDEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #D02EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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