#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 |
|---|---|
| RGB | rgb(208, 45, 178) |
| HSL | hsl(311, 64%, 50%) |
| HSV | hsv(311, 78%, 82%) |
| CMYK | cmyk(0%, 78.4%, 14.4%, 18.4%) |
| CIE-LAB | lab(50.10, 73.42, -33.71) |
| CIE-LCH | lch(50.10, 80.79, 335.33°) |
| OKLab | oklab(60.12% 0.2166 -0.0918) |
| OKLCH | oklch(60.12% 0.235 337) |
| XYZ | xyz(34.9874, 18.5044, 43.8399) |
| Luminance | 0.1850 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.25
Pinky Purple
#C94CBE
ΔE00 4.49
Hot Magenta
#F504C9
ΔE00 6.51
Purple Pink
#D725DE
ΔE00 6.77
Fuchsia (survey)
#ED0DD9
ΔE00 6.81
Purpleish Pink
#DF4EC8
ΔE00 7.14
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 |
|---|---|---|---|---|
| ##D02DB2 | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.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