#D02DB1#D02DB1

#D02DB1 is a mid, highly saturated pink. Relative luminance 0.185; OKLCH L 60.1% C 0.235 H 337.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#D02DB1
RGBrgb(208, 45, 177)
HSLhsl(311, 64%, 50%)
HSVhsv(311, 78%, 82%)
CMYKcmyk(0%, 78.4%, 14.9%, 18.4%)
CIE-LABlab(50.05, 73.28, -33.20)
CIE-LCHlch(50.05, 80.45, 335.62°)
OKLaboklab(60.07% 0.2165 -0.0904)
OKLCHoklch(60.07% 0.235 337.3)
XYZxyz(34.8874, 18.4644, 43.3131)
Luminance0.1846 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02DB1 #2DD04C
analogous
#9E2DD0 #D02DB1 #D02D60
triadic
#D02DB1 #B1D02D #2DB1D0
tetradic
#D02DB1 #D09E2D #2DD04C #2D60D0
square
#D02DB1 #D09E2D #2DD04C #2D60D0
split-complementary
#D02DB1 #60D02D #2DD09E
monochromatic
#6B175B #9E2286 #D02DB1 #DC5EC4 #E790D7

Accessibility & contrast

On white

4.48
#D02DB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#D02DB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02DB1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02DB1#FFFFFF#000000##000000
##D02DB11.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3367B4
Deuteranopia (green-blind)
#6D80AD
Tritanopia (blue-blind)
#DB386E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d02db1;
/* rgb */ color: rgb(208, 45, 177);
/* oklch */ color: oklch(60.1% 0.235 337.3);
Tailwind
colors: {
  custom: {
    50: '#e379c8',
    500: '#d02db1',
    950: '#000000',
  },
}
SCSS
$custom: #d02db1;
$custom-light: #e379c8;
$custom-dark: #000000;
JSON
{
  "hex": "#d02db1",
  "rgb": {
    "r": 208,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 311.411,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.60066,
    "c": 0.23462,
    "h": 337.3
  },
  "luminance": 0.18461
}

Semantic roles & 50–950 ramp

primary
#D02DB1
secondary
#87D295
accent
#E76040
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #D02DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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