#CD428A#CD428A
#CD428A is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.7% C 0.187 H 352.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #CD428A |
|---|---|
| RGB | rgb(205, 66, 138) |
| HSL | hsl(329, 58%, 53%) |
| HSV | hsv(329, 68%, 80%) |
| CMYK | cmyk(0%, 67.8%, 32.7%, 19.6%) |
| CIE-LAB | lab(50.35, 60.80, -9.65) |
| CIE-LCH | lch(50.35, 61.56, 350.98°) |
| OKLab | oklab(59.67% 0.1857 -0.0248) |
| OKLCH | oklch(59.67% 0.187 352.4) |
| XYZ | xyz(31.7142, 18.7141, 25.9819) |
| Luminance | 0.1871 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 5.59
Mediumvioletred
#C71585
ΔE00 6.31
Dark Pink
#CB416B
ΔE00 7.73
Neon Pink
#FE019A
ΔE00 7.79
Magenta (survey)
#C20078
ΔE00 8.01
Electric Pink
#FF0490
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD428A #42CD85
analogous
#CB42CD #CD428A #CD4244
triadic
#CD428A #8ACD42 #428ACD
tetradic
#CD428A #CDCB42 #42CD85 #4244CD
square
#CD428A #CDCB42 #42CD85 #4244CD
split-complementary
#CD428A #44CD42 #42CDCB
monochromatic
#761F4C #A62C6B #CD428A #DA72A8 #E7A3C6
Accessibility & contrast
On white
4.43
#CD428A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#CD428A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD428A
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD428A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD428A | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#58688C
Deuteranopia (green-blind)
#7F8187
Tritanopia (blue-blind)
#DC3960
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cd428a; /* rgb */ color: rgb(205, 66, 138); /* oklch */ color: oklch(59.7% 0.187 352.4);
Tailwind
colors: {
custom: {
50: '#e180ac',
500: '#cd428a',
950: '#000000',
},
}SCSS
$custom: #cd428a; $custom-light: #e180ac; $custom-dark: #000000;
JSON
{
"hex": "#cd428a",
"rgb": {
"r": 205,
"g": 66,
"b": 138
},
"hsl": {
"h": 328.921,
"s": 58.159,
"l": 53.137
},
"oklch": {
"l": 0.59666,
"c": 0.18737,
"h": 352.4
},
"luminance": 0.18711
}Semantic roles & 50–950 ramp
primary
#CD428A
secondary
#97D3B4
accent
#E19146
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F