#D02CAF#D02CAF
#D02CAF is a mid, highly saturated pink. Relative luminance 0.183; OKLCH L 59.9% C 0.234 H 338.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #D02CAF |
|---|---|
| RGB | rgb(208, 44, 175) |
| HSL | hsl(312, 65%, 49%) |
| HSV | hsv(312, 79%, 82%) |
| CMYK | cmyk(0%, 78.8%, 15.9%, 18.4%) |
| CIE-LAB | lab(49.87, 73.27, -32.32) |
| CIE-LCH | lch(49.87, 80.08, 336.20°) |
| OKLab | oklab(59.9% 0.2171 -0.0878) |
| OKLCH | oklch(59.9% 0.234 338) |
| XYZ | xyz(34.6518, 18.3098, 42.2583) |
| Luminance | 0.1831 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.69
Pinky Purple
#C94CBE
ΔE00 4.86
Hot Magenta
#F504C9
ΔE00 6.74
Fuchsia (survey)
#ED0DD9
ΔE00 7.22
Purple Pink
#D725DE
ΔE00 7.28
Purpleish Pink
#DF4EC8
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D02CAF #2CD04D
analogous
#9F2CD0 #D02CAF #D02C5D
triadic
#D02CAF #AFD02C #2CAFD0
tetradic
#D02CAF #D09F2C #2CD04D #2C5DD0
square
#D02CAF #D09F2C #2CD04D #2C5DD0
split-complementary
#D02CAF #5DD02C #2CD09F
monochromatic
#6B175A #9D2185 #D02CAF #DD5DC3 #E78FD6
Accessibility & contrast
On white
4.51
#D02CAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#D02CAF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D02CAF
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D02CAF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D02CAF | 1.00 | 4.51 | 4.66 | 4.66 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3467B2
Deuteranopia (green-blind)
#6E7FAB
Tritanopia (blue-blind)
#DC366C
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #d02caf; /* rgb */ color: rgb(208, 44, 175); /* oklch */ color: oklch(59.9% 0.234 338.0);
Tailwind
colors: {
custom: {
50: '#e378c7',
500: '#d02caf',
950: '#000000',
},
}SCSS
$custom: #d02caf; $custom-light: #e378c7; $custom-dark: #000000;
JSON
{
"hex": "#d02caf",
"rgb": {
"r": 208,
"g": 44,
"b": 175
},
"hsl": {
"h": 312.073,
"s": 65.079,
"l": 49.412
},
"oklch": {
"l": 0.59902,
"c": 0.23422,
"h": 338
},
"luminance": 0.18306
}Semantic roles & 50–950 ramp
primary
#D02CAF
secondary
#86D295
accent
#E86240
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160A13
muted
#847C82