#D02DA8#D02DA8

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

Color values

HEX#D02DA8
RGBrgb(208, 45, 168)
HSLhsl(315, 64%, 50%)
HSVhsv(315, 78%, 82%)
CMYKcmyk(0%, 78.4%, 19.2%, 18.4%)
CIE-LABlab(49.64, 72.08, -28.55)
CIE-LCHlch(49.64, 77.53, 338.39°)
OKLaboklab(59.63% 0.2156 -0.0771)
OKLCHoklch(59.63% 0.229 340.3)
XYZxyz(34.0197, 18.1173, 38.7436)
Luminance0.1811 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02DA8 #2DD055
analogous
#A72DD0 #D02DA8 #D02D56
triadic
#D02DA8 #A8D02D #2DA8D0
tetradic
#D02DA8 #D0A72D #2DD055 #2D56D0
square
#D02DA8 #D0A72D #2DD055 #2D56D0
split-complementary
#D02DA8 #56D02D #2DD0A7
monochromatic
#6B1757 #9E227F #D02DA8 #DC5EBD #E790D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D02DA8#FFFFFF#000000##000000
##D02DA81.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)
#3B66AB
Deuteranopia (green-blind)
#717FA4
Tritanopia (blue-blind)
#DD3369
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d02da8;
/* rgb */ color: rgb(208, 45, 168);
/* oklch */ color: oklch(59.6% 0.229 340.3);
Tailwind
colors: {
  custom: {
    50: '#e378c2',
    500: '#d02da8',
    950: '#000000',
  },
}
SCSS
$custom: #d02da8;
$custom-light: #e378c2;
$custom-dark: #000000;
JSON
{
  "hex": "#d02da8",
  "rgb": {
    "r": 208,
    "g": 45,
    "b": 168
  },
  "hsl": {
    "h": 314.724,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59631,
    "c": 0.22898,
    "h": 340.3
  },
  "luminance": 0.18114
}

Semantic roles & 50–950 ramp

primary
#D02DA8
secondary
#87D299
accent
#E76940
background
#FEF7FB
surface
#FDEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #D02DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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