#CD42A0#CD42A0
#CD42A0 is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.5% C 0.199 H 343.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #CD42A0 |
|---|---|
| RGB | rgb(205, 66, 160) |
| HSL | hsl(319, 58%, 53%) |
| HSV | hsv(319, 68%, 80%) |
| CMYK | cmyk(0%, 67.8%, 22%, 19.6%) |
| CIE-LAB | lab(51.17, 63.55, -21.50) |
| CIE-LCH | lch(51.17, 67.09, 341.31°) |
| OKLab | oklab(60.54% 0.191 -0.0574) |
| OKLCH | oklch(60.54% 0.199 343.3) |
| XYZ | xyz(33.4713, 19.4169, 35.2360) |
| Luminance | 0.1941 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 5.49
Purpley Pink
#C83CB9
ΔE00 5.52
Pinky Purple
#C94CBE
ΔE00 5.96
Mediumvioletred
#C71585
ΔE00 7.22
Purpleish Pink
#DF4EC8
ΔE00 7.59
Bright Pink
#FE01B1
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD42A0 #42CD6F
analogous
#B442CD #CD42A0 #CD425B
triadic
#CD42A0 #A0CD42 #42A0CD
tetradic
#CD42A0 #CDB442 #42CD6F #425BCD
square
#CD42A0 #CDB442 #42CD6F #425BCD
split-complementary
#CD42A0 #5BCD42 #42CDB4
monochromatic
#761F5A #A62C7E #CD42A0 #DA72B8 #E7A3D1
Accessibility & contrast
On white
4.30
#CD42A0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#CD42A0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD42A0
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD42A0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD42A0 | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F6BA3
Deuteranopia (green-blind)
#79829D
Tritanopia (blue-blind)
#DA426B
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cd42a0; /* rgb */ color: rgb(205, 66, 160); /* oklch */ color: oklch(60.5% 0.199 343.3);
Tailwind
colors: {
custom: {
50: '#e081bc',
500: '#cd42a0',
950: '#000000',
},
}SCSS
$custom: #cd42a0; $custom-light: #e081bc; $custom-dark: #000000;
JSON
{
"hex": "#cd42a0",
"rgb": {
"r": 205,
"g": 66,
"b": 160
},
"hsl": {
"h": 319.424,
"s": 58.159,
"l": 53.137
},
"oklch": {
"l": 0.60537,
"c": 0.19943,
"h": 343.3
},
"luminance": 0.19414
}Semantic roles & 50–950 ramp
primary
#CD42A0
secondary
#97D3AB
accent
#E17946
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81