#CD42A9#CD42A9
#CD42A9 is a mid, highly saturated pink. Relative luminance 0.197; OKLCH L 60.9% C 0.205 H 339.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #CD42A9 |
|---|---|
| RGB | rgb(205, 66, 169) |
| HSL | hsl(316, 58%, 53%) |
| HSV | hsv(316, 68%, 80%) |
| CMYK | cmyk(0%, 67.8%, 17.6%, 19.6%) |
| CIE-LAB | lab(51.55, 64.79, -26.22) |
| CIE-LCH | lch(51.55, 69.89, 337.96°) |
| OKLab | oklab(60.93% 0.1926 -0.0707) |
| OKLCH | oklch(60.93% 0.205 339.8) |
| XYZ | xyz(34.2873, 19.7433, 39.5335) |
| Luminance | 0.1974 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.84
Pinky Purple
#C94CBE
ΔE00 4.25
Purplish Pink
#CE5DAE
ΔE00 5.25
Purpleish Pink
#DF4EC8
ΔE00 6.32
Hot Magenta
#F504C9
ΔE00 7.04
Bright Pink
#FE01B1
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD42A9 #42CD66
analogous
#AC42CD #CD42A9 #CD4263
triadic
#CD42A9 #A9CD42 #42A9CD
tetradic
#CD42A9 #CDAC42 #42CD66 #4263CD
square
#CD42A9 #CDAC42 #42CD66 #4263CD
split-complementary
#CD42A9 #63CD42 #42CDAC
monochromatic
#761F5F #A62C86 #CD42A9 #DA72BF #E7A3D5
Accessibility & contrast
On white
4.24
#CD42A9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#CD42A9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD42A9
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD42A9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD42A9 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A6DAC
Deuteranopia (green-blind)
#7683A6
Tritanopia (blue-blind)
#D94670
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cd42a9; /* rgb */ color: rgb(205, 66, 169); /* oklch */ color: oklch(60.9% 0.205 339.8);
Tailwind
colors: {
custom: {
50: '#e081c3',
500: '#cd42a9',
950: '#000000',
},
}SCSS
$custom: #cd42a9; $custom-light: #e081c3; $custom-dark: #000000;
JSON
{
"hex": "#cd42a9",
"rgb": {
"r": 205,
"g": 66,
"b": 169
},
"hsl": {
"h": 315.54,
"s": 58.159,
"l": 53.137
},
"oklch": {
"l": 0.60932,
"c": 0.20517,
"h": 339.8
},
"luminance": 0.1974
}Semantic roles & 50–950 ramp
primary
#CD42A9
secondary
#97D3A7
accent
#E16F46
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81