#D02DB2#D02DB2

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

Color values

HEX#D02DB2
RGBrgb(208, 45, 178)
HSLhsl(311, 64%, 50%)
HSVhsv(311, 78%, 82%)
CMYKcmyk(0%, 78.4%, 14.4%, 18.4%)
CIE-LABlab(50.10, 73.42, -33.71)
CIE-LCHlch(50.10, 80.79, 335.33°)
OKLaboklab(60.12% 0.2166 -0.0918)
OKLCHoklch(60.12% 0.235 337)
XYZxyz(34.9874, 18.5044, 43.8399)
Luminance0.1850 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02DB2 #2DD04B
analogous
#9D2DD0 #D02DB2 #D02D61
triadic
#D02DB2 #B2D02D #2DB2D0
tetradic
#D02DB2 #D09D2D #2DD04B #2D61D0
square
#D02DB2 #D09D2D #2DD04B #2D61D0
split-complementary
#D02DB2 #61D02D #2DD09D
monochromatic
#6B175C #9E2287 #D02DB2 #DC5EC5 #E790D7

Accessibility & contrast

On white

4.47
#D02DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#D02DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02DB2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02DB2#FFFFFF#000000##000000
##D02DB21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3267B5
Deuteranopia (green-blind)
#6D80AE
Tritanopia (blue-blind)
#DB396E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d02db2;
/* rgb */ color: rgb(208, 45, 178);
/* oklch */ color: oklch(60.1% 0.235 337.0);
Tailwind
colors: {
  custom: {
    50: '#e379c9',
    500: '#d02db2',
    950: '#000000',
  },
}
SCSS
$custom: #d02db2;
$custom-light: #e379c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d02db2",
  "rgb": {
    "r": 208,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 311.043,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.60116,
    "c": 0.23528,
    "h": 337
  },
  "luminance": 0.18501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D02DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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