#CF408E#CF408E
#CF408E is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.9% C 0.193 H 351.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #CF408E |
|---|---|
| RGB | rgb(207, 64, 142) |
| HSL | hsl(327, 60%, 53%) |
| HSV | hsv(327, 69%, 81%) |
| CMYK | cmyk(0%, 69.1%, 31.4%, 18.8%) |
| CIE-LAB | lab(50.56, 62.57, -11.70) |
| CIE-LCH | lch(50.56, 63.66, 349.41°) |
| OKLab | oklab(59.93% 0.191 -0.0304) |
| OKLCH | oklch(59.93% 0.193 351) |
| XYZ | xyz(32.4497, 18.8888, 27.5230) |
| Luminance | 0.1888 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 6.15
Darkish Pink
#DA467D
ΔE00 6.24
Neon Pink
#FE019A
ΔE00 7.41
Shocking Pink
#FE02A2
ΔE00 7.58
Purplish Pink
#CE5DAE
ΔE00 7.66
Electric Pink
#FF0490
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF408E #40CF81
analogous
#C940CF #CF408E #CF4046
triadic
#CF408E #8ECF40 #408ECF
tetradic
#CF408E #CFC940 #40CF81 #4046CF
square
#CF408E #CFC940 #40CF81 #4046CF
split-complementary
#CF408E #46CF40 #40CFC9
monochromatic
#771E4E #A82A6F #CF408E #DB71AB #E8A2C8
Accessibility & contrast
On white
4.40
#CF408E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#CF408E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF408E
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF408E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF408E | 1.00 | 4.40 | 4.78 | 4.78 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#566890
Deuteranopia (green-blind)
#7F828B
Tritanopia (blue-blind)
#DE3761
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cf408e; /* rgb */ color: rgb(207, 64, 142); /* oklch */ color: oklch(59.9% 0.193 351.0);
Tailwind
colors: {
custom: {
50: '#e27faf',
500: '#cf408e',
950: '#000000',
},
}SCSS
$custom: #cf408e; $custom-light: #e27faf; $custom-dark: #000000;
JSON
{
"hex": "#cf408e",
"rgb": {
"r": 207,
"g": 64,
"b": 142
},
"hsl": {
"h": 327.273,
"s": 59.833,
"l": 53.137
},
"oklch": {
"l": 0.59927,
"c": 0.19339,
"h": 351
},
"luminance": 0.18885
}Semantic roles & 50–950 ramp
primary
#CF408E
secondary
#97D4B3
accent
#E38D45
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F