#CD42A3#CD42A3
#CD42A3 is a mid, highly saturated pink. Relative luminance 0.195; OKLCH L 60.7% C 0.201 H 342.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #CD42A3 |
|---|---|
| RGB | rgb(205, 66, 163) |
| HSL | hsl(318, 58%, 53%) |
| HSV | hsv(318, 68%, 80%) |
| CMYK | cmyk(0%, 67.8%, 20.5%, 19.6%) |
| CIE-LAB | lab(51.29, 63.96, -23.08) |
| CIE-LCH | lch(51.29, 68.00, 340.16°) |
| OKLab | oklab(60.67% 0.1916 -0.0619) |
| OKLCH | oklch(60.67% 0.201 342.1) |
| XYZ | xyz(33.7369, 19.5232, 36.6348) |
| Luminance | 0.1952 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.95
Purplish Pink
#CE5DAE
ΔE00 5.34
Pinky Purple
#C94CBE
ΔE00 5.38
Purpleish Pink
#DF4EC8
ΔE00 7.14
Mediumvioletred
#C71585
ΔE00 7.56
Bright Pink
#FE01B1
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD42A3 #42CD6C
analogous
#B142CD #CD42A3 #CD425E
triadic
#CD42A3 #A3CD42 #42A3CD
tetradic
#CD42A3 #CDB142 #42CD6C #425ECD
square
#CD42A3 #CDB142 #42CD6C #425ECD
split-complementary
#CD42A3 #5ECD42 #42CDB1
monochromatic
#761F5B #A62C81 #CD42A3 #DA72BB #E7A3D2
Accessibility & contrast
On white
4.28
#CD42A3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#CD42A3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD42A3
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD42A3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD42A3 | 1.00 | 4.28 | 4.90 | 4.90 |
| #FFFFFF | 4.28 | 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)
#4E6CA6
Deuteranopia (green-blind)
#7882A0
Tritanopia (blue-blind)
#D9436D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cd42a3; /* rgb */ color: rgb(205, 66, 163); /* oklch */ color: oklch(60.7% 0.201 342.1);
Tailwind
colors: {
custom: {
50: '#e081be',
500: '#cd42a3',
950: '#000000',
},
}SCSS
$custom: #cd42a3; $custom-light: #e081be; $custom-dark: #000000;
JSON
{
"hex": "#cd42a3",
"rgb": {
"r": 205,
"g": 66,
"b": 163
},
"hsl": {
"h": 318.129,
"s": 58.159,
"l": 53.137
},
"oklch": {
"l": 0.60666,
"c": 0.20129,
"h": 342.1
},
"luminance": 0.1952
}Semantic roles & 50–950 ramp
primary
#CD42A3
secondary
#97D3AA
accent
#E17546
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81