#D02CB2#D02CB2
#D02CB2 is a mid, highly saturated pink. Relative luminance 0.184; OKLCH L 60.1% C 0.236 H 337.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #D02CB2 |
|---|---|
| RGB | rgb(208, 44, 178) |
| HSL | hsl(311, 65%, 49%) |
| HSV | hsv(311, 79%, 82%) |
| CMYK | cmyk(0%, 78.8%, 14.4%, 18.4%) |
| CIE-LAB | lab(50.01, 73.67, -33.86) |
| CIE-LCH | lch(50.01, 81.08, 335.32°) |
| OKLab | oklab(60.05% 0.2174 -0.0922) |
| OKLCH | oklch(60.05% 0.236 337) |
| XYZ | xyz(34.9497, 18.4290, 43.8274) |
| Luminance | 0.1843 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.29
Pinky Purple
#C94CBE
ΔE00 4.58
Hot Magenta
#F504C9
ΔE00 6.56
Purple Pink
#D725DE
ΔE00 6.77
Fuchsia (survey)
#ED0DD9
ΔE00 6.84
Purpleish Pink
#DF4EC8
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D02CB2 #2CD04A
analogous
#9C2CD0 #D02CB2 #D02C60
triadic
#D02CB2 #B2D02C #2CB2D0
tetradic
#D02CB2 #D09C2C #2CD04A #2C60D0
square
#D02CB2 #D09C2C #2CD04A #2C60D0
split-complementary
#D02CB2 #60D02C #2CD09C
monochromatic
#6B175C #9D2187 #D02CB2 #DD5DC5 #E78FD7
Accessibility & contrast
On white
4.48
#D02CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#D02CB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D02CB2
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D02CB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D02CB2 | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3267B5
Deuteranopia (green-blind)
#6D80AE
Tritanopia (blue-blind)
#DB386E
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #d02cb2; /* rgb */ color: rgb(208, 44, 178); /* oklch */ color: oklch(60.1% 0.236 337.0);
Tailwind
colors: {
custom: {
50: '#e378c9',
500: '#d02cb2',
950: '#000000',
},
}SCSS
$custom: #d02cb2; $custom-light: #e378c9; $custom-dark: #000000;
JSON
{
"hex": "#d02cb2",
"rgb": {
"r": 208,
"g": 44,
"b": 178
},
"hsl": {
"h": 310.976,
"s": 65.079,
"l": 49.412
},
"oklch": {
"l": 0.60051,
"c": 0.23614,
"h": 337
},
"luminance": 0.18426
}Semantic roles & 50–950 ramp
primary
#D02CB2
secondary
#86D294
accent
#E85F40
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160A13
muted
#847C82