#D02DB4#D02DB4

#D02DB4 is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 60.2% C 0.237 H 336.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#D02DB4
RGBrgb(208, 45, 180)
HSLhsl(310, 64%, 50%)
HSVhsv(310, 78%, 82%)
CMYKcmyk(0%, 78.4%, 13.5%, 18.4%)
CIE-LABlab(50.20, 73.69, -34.74)
CIE-LCHlch(50.20, 81.47, 334.76°)
OKLaboklab(60.22% 0.2168 -0.0948)
OKLCHoklch(60.22% 0.237 336.4)
XYZxyz(35.1897, 18.5853, 44.9052)
Luminance0.1858 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02DB4 #2DD049
analogous
#9B2DD0 #D02DB4 #D02D62
triadic
#D02DB4 #B4D02D #2DB4D0
tetradic
#D02DB4 #D09B2D #2DD049 #2D62D0
square
#D02DB4 #D09B2D #2DD049 #2D62D0
split-complementary
#D02DB4 #62D02D #2DD09B
monochromatic
#6B175D #9E2288 #D02DB4 #DC5EC7 #E790D8

Accessibility & contrast

On white

4.45
#D02DB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#D02DB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02DB4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02DB4#FFFFFF#000000##000000
##D02DB41.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3168B8
Deuteranopia (green-blind)
#6C80B0
Tritanopia (blue-blind)
#DB3A6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d02db4;
/* rgb */ color: rgb(208, 45, 180);
/* oklch */ color: oklch(60.2% 0.237 336.4);
Tailwind
colors: {
  custom: {
    50: '#e379cb',
    500: '#d02db4',
    950: '#000000',
  },
}
SCSS
$custom: #d02db4;
$custom-light: #e379cb;
$custom-dark: #000000;
JSON
{
  "hex": "#d02db4",
  "rgb": {
    "r": 208,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 310.307,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.60216,
    "c": 0.23657,
    "h": 336.4
  },
  "luminance": 0.18582
}

Semantic roles & 50–950 ramp

primary
#D02DB4
secondary
#87D294
accent
#E75D40
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #D02DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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