#CD42A2#CD42A2
#CD42A2 is a mid, highly saturated pink. Relative luminance 0.195; OKLCH L 60.6% C 0.201 H 342.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #CD42A2 |
|---|---|
| RGB | rgb(205, 66, 162) |
| HSL | hsl(319, 58%, 53%) |
| HSV | hsv(319, 68%, 80%) |
| CMYK | cmyk(0%, 67.8%, 21%, 19.6%) |
| CIE-LAB | lab(51.25, 63.82, -22.55) |
| CIE-LCH | lch(51.25, 67.69, 340.54°) |
| OKLab | oklab(60.62% 0.1914 -0.0604) |
| OKLCH | oklch(60.62% 0.201 342.5) |
| XYZ | xyz(33.6477, 19.4875, 36.1648) |
| Luminance | 0.1948 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 5.14
Purplish Pink
#CE5DAE
ΔE00 5.38
Pinky Purple
#C94CBE
ΔE00 5.57
Purpleish Pink
#DF4EC8
ΔE00 7.29
Mediumvioletred
#C71585
ΔE00 7.44
Bright Pink
#FE01B1
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD42A2 #42CD6D
analogous
#B242CD #CD42A2 #CD425C
triadic
#CD42A2 #A2CD42 #42A2CD
tetradic
#CD42A2 #CDB242 #42CD6D #425CCD
square
#CD42A2 #CDB242 #42CD6D #425CCD
split-complementary
#CD42A2 #5CCD42 #42CDB2
monochromatic
#761F5B #A62C80 #CD42A2 #DA72BA #E7A3D2
Accessibility & contrast
On white
4.29
#CD42A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#CD42A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD42A2
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD42A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD42A2 | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E6CA5
Deuteranopia (green-blind)
#78829F
Tritanopia (blue-blind)
#DA436C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cd42a2; /* rgb */ color: rgb(205, 66, 162); /* oklch */ color: oklch(60.6% 0.201 342.5);
Tailwind
colors: {
custom: {
50: '#e081bd',
500: '#cd42a2',
950: '#000000',
},
}SCSS
$custom: #cd42a2; $custom-light: #e081bd; $custom-dark: #000000;
JSON
{
"hex": "#cd42a2",
"rgb": {
"r": 205,
"g": 66,
"b": 162
},
"hsl": {
"h": 318.561,
"s": 58.159,
"l": 53.137
},
"oklch": {
"l": 0.60622,
"c": 0.20066,
"h": 342.5
},
"luminance": 0.19484
}Semantic roles & 50–950 ramp
primary
#CD42A2
secondary
#97D3AA
accent
#E17646
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81