#CF408D#CF408D
#CF408D is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.9% C 0.193 H 351.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #CF408D |
|---|---|
| RGB | rgb(207, 64, 141) |
| HSL | hsl(328, 60%, 53%) |
| HSV | hsv(328, 69%, 81%) |
| CMYK | cmyk(0%, 69.1%, 31.9%, 18.8%) |
| CIE-LAB | lab(50.52, 62.46, -11.16) |
| CIE-LCH | lch(50.52, 63.45, 349.87°) |
| OKLab | oklab(59.89% 0.1907 -0.0289) |
| OKLCH | oklch(59.89% 0.193 351.4) |
| XYZ | xyz(32.3750, 18.8589, 27.1293) |
| Luminance | 0.1885 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 6.04
Mediumvioletred
#C71585
ΔE00 6.16
Neon Pink
#FE019A
ΔE00 7.42
Shocking Pink
#FE02A2
ΔE00 7.63
Purplish Pink
#CE5DAE
ΔE00 7.82
Electric Pink
#FF0490
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF408D #40CF82
analogous
#C940CF #CF408D #CF4045
triadic
#CF408D #8DCF40 #408DCF
tetradic
#CF408D #CFC940 #40CF82 #4045CF
square
#CF408D #CFC940 #40CF82 #4045CF
split-complementary
#CF408D #45CF40 #40CFC9
monochromatic
#771E4E #A82A6E #CF408D #DB71AA #E8A2C7
Accessibility & contrast
On white
4.40
#CF408D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#CF408D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF408D
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF408D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF408D | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#57688F
Deuteranopia (green-blind)
#7F828A
Tritanopia (blue-blind)
#DE3761
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cf408d; /* rgb */ color: rgb(207, 64, 141); /* oklch */ color: oklch(59.9% 0.193 351.4);
Tailwind
colors: {
custom: {
50: '#e27fae',
500: '#cf408d',
950: '#000000',
},
}SCSS
$custom: #cf408d; $custom-light: #e27fae; $custom-dark: #000000;
JSON
{
"hex": "#cf408d",
"rgb": {
"r": 207,
"g": 64,
"b": 141
},
"hsl": {
"h": 327.692,
"s": 59.833,
"l": 53.137
},
"oklch": {
"l": 0.59889,
"c": 0.1929,
"h": 351.4
},
"luminance": 0.18855
}Semantic roles & 50–950 ramp
primary
#CF408D
secondary
#97D4B3
accent
#E38E45
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F