#CF408C#CF408C
#CF408C is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.9% C 0.192 H 351.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #CF408C |
|---|---|
| RGB | rgb(207, 64, 140) |
| HSL | hsl(328, 60%, 53%) |
| HSV | hsv(328, 69%, 81%) |
| CMYK | cmyk(0%, 69.1%, 32.4%, 18.8%) |
| CIE-LAB | lab(50.49, 62.34, -10.61) |
| CIE-LCH | lch(50.49, 63.24, 350.34°) |
| OKLab | oklab(59.85% 0.1905 -0.0274) |
| OKLCH | oklch(59.85% 0.192 351.8) |
| XYZ | xyz(32.3009, 18.8293, 26.7392) |
| Luminance | 0.1883 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 5.85
Mediumvioletred
#C71585
ΔE00 6.19
Neon Pink
#FE019A
ΔE00 7.43
Shocking Pink
#FE02A2
ΔE00 7.69
Electric Pink
#FF0490
ΔE00 7.79
Deeppink
#FF1493
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF408C #40CF83
analogous
#CB40CF #CF408C #CF4044
triadic
#CF408C #8CCF40 #408CCF
tetradic
#CF408C #CFCB40 #40CF83 #4044CF
square
#CF408C #CFCB40 #40CF83 #4044CF
split-complementary
#CF408C #44CF40 #40CFCB
monochromatic
#771E4D #A82A6D #CF408C #DB71A9 #E8A2C7
Accessibility & contrast
On white
4.41
#CF408C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#CF408C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF408C
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF408C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF408C | 1.00 | 4.41 | 4.77 | 4.77 |
| #FFFFFF | 4.41 | 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)
#57688E
Deuteranopia (green-blind)
#7F8289
Tritanopia (blue-blind)
#DE3660
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cf408c; /* rgb */ color: rgb(207, 64, 140); /* oklch */ color: oklch(59.9% 0.192 351.8);
Tailwind
colors: {
custom: {
50: '#e27fad',
500: '#cf408c',
950: '#000000',
},
}SCSS
$custom: #cf408c; $custom-light: #e27fad; $custom-dark: #000000;
JSON
{
"hex": "#cf408c",
"rgb": {
"r": 207,
"g": 64,
"b": 140
},
"hsl": {
"h": 328.112,
"s": 59.833,
"l": 53.137
},
"oklch": {
"l": 0.59852,
"c": 0.19241,
"h": 351.8
},
"luminance": 0.18826
}Semantic roles & 50–950 ramp
primary
#CF408C
secondary
#97D4B3
accent
#E38F45
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F