#CD39A2#CD39A2
#CD39A2 is a mid, highly saturated pink. Relative luminance 0.185; OKLCH L 59.8% C 0.211 H 342.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #CD39A2 |
|---|---|
| RGB | rgb(205, 57, 162) |
| HSL | hsl(317, 60%, 51%) |
| HSV | hsv(317, 72%, 80%) |
| CMYK | cmyk(0%, 72.2%, 21%, 19.6%) |
| CIE-LAB | lab(50.12, 67.01, -24.30) |
| CIE-LCH | lch(50.12, 71.28, 340.06°) |
| OKLab | oklab(59.8% 0.2011 -0.0652) |
| OKLCH | oklch(59.8% 0.211 342) |
| XYZ | xyz(33.1626, 18.5174, 36.0031) |
| Luminance | 0.1851 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.64
Pinky Purple
#C94CBE
ΔE00 5.82
Mediumvioletred
#C71585
ΔE00 6.53
Purplish Pink
#CE5DAE
ΔE00 6.73
Hot Magenta
#F504C9
ΔE00 7.87
Purpleish Pink
#DF4EC8
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD39A2 #39CD64
analogous
#AE39CD #CD39A2 #CD3958
triadic
#CD39A2 #A2CD39 #39A2CD
tetradic
#CD39A2 #CDAE39 #39CD64 #3958CD
square
#CD39A2 #CDAE39 #39CD64 #3958CD
split-complementary
#CD39A2 #58CD39 #39CDAE
monochromatic
#6F1C57 #A0287E #CD39A2 #D96AB9 #E69BD0
Accessibility & contrast
On white
4.47
#CD39A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#CD39A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD39A2
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD39A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD39A2 | 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)
#4668A5
Deuteranopia (green-blind)
#75809F
Tritanopia (blue-blind)
#DA3B69
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #cd39a2; /* rgb */ color: rgb(205, 57, 162); /* oklch */ color: oklch(59.8% 0.211 342.0);
Tailwind
colors: {
custom: {
50: '#e07dbd',
500: '#cd39a2',
950: '#000000',
},
}SCSS
$custom: #cd39a2; $custom-light: #e07dbd; $custom-dark: #000000;
JSON
{
"hex": "#cd39a2",
"rgb": {
"r": 205,
"g": 57,
"b": 162
},
"hsl": {
"h": 317.432,
"s": 59.677,
"l": 51.373
},
"oklch": {
"l": 0.59796,
"c": 0.2114,
"h": 342
},
"luminance": 0.18514
}Semantic roles & 50–950 ramp
primary
#CD39A2
secondary
#90D2A3
accent
#E37345
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81