#CD39A6#CD39A6
#CD39A6 is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 60.0% C 0.214 H 340.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CD39A6 |
|---|---|
| RGB | rgb(205, 57, 166) |
| HSL | hsl(316, 60%, 51%) |
| HSV | hsv(316, 72%, 80%) |
| CMYK | cmyk(0%, 72.2%, 19%, 19.6%) |
| CIE-LAB | lab(50.29, 67.54, -26.40) |
| CIE-LCH | lch(50.29, 72.52, 338.65°) |
| OKLab | oklab(59.98% 0.2017 -0.0712) |
| OKLCH | oklch(59.98% 0.214 340.6) |
| XYZ | xyz(33.5239, 18.6619, 37.9056) |
| Luminance | 0.1866 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.88
Pinky Purple
#C94CBE
ΔE00 5.15
Purplish Pink
#CE5DAE
ΔE00 6.66
Mediumvioletred
#C71585
ΔE00 7.10
Hot Magenta
#F504C9
ΔE00 7.44
Purpleish Pink
#DF4EC8
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD39A6 #39CD60
analogous
#AA39CD #CD39A6 #CD395C
triadic
#CD39A6 #A6CD39 #39A6CD
tetradic
#CD39A6 #CDAA39 #39CD60 #395CCD
square
#CD39A6 #CDAA39 #39CD60 #395CCD
split-complementary
#CD39A6 #5CCD39 #39CDAA
monochromatic
#6F1C5A #A02881 #CD39A6 #D96ABC #E69BD2
Accessibility & contrast
On white
4.44
#CD39A6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#CD39A6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD39A6
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD39A6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD39A6 | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4469A9
Deuteranopia (green-blind)
#7380A3
Tritanopia (blue-blind)
#D93D6B
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cd39a6; /* rgb */ color: rgb(205, 57, 166); /* oklch */ color: oklch(60.0% 0.214 340.6);
Tailwind
colors: {
custom: {
50: '#e07dc0',
500: '#cd39a6',
950: '#000000',
},
}SCSS
$custom: #cd39a6; $custom-light: #e07dc0; $custom-dark: #000000;
JSON
{
"hex": "#cd39a6",
"rgb": {
"r": 205,
"g": 57,
"b": 166
},
"hsl": {
"h": 315.811,
"s": 59.677,
"l": 51.373
},
"oklch": {
"l": 0.59976,
"c": 0.21389,
"h": 340.6
},
"luminance": 0.18659
}Semantic roles & 50–950 ramp
primary
#CD39A6
secondary
#90D2A1
accent
#E36F45
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81