#CF408A#CF408A
#CF408A is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.8% C 0.191 H 352.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #CF408A |
|---|---|
| RGB | rgb(207, 64, 138) |
| HSL | hsl(329, 60%, 53%) |
| HSV | hsv(329, 69%, 81%) |
| CMYK | cmyk(0%, 69.1%, 33.3%, 18.8%) |
| CIE-LAB | lab(50.42, 62.11, -9.52) |
| CIE-LCH | lch(50.42, 62.84, 351.29°) |
| OKLab | oklab(59.78% 0.1899 -0.0245) |
| OKLCH | oklch(59.78% 0.191 352.7) |
| XYZ | xyz(32.1548, 18.7708, 25.9696) |
| Luminance | 0.1877 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 5.46
Mediumvioletred
#C71585
ΔE00 6.27
Neon Pink
#FE019A
ΔE00 7.49
Dark Pink
#CB416B
ΔE00 7.69
Electric Pink
#FF0490
ΔE00 7.71
Deeppink
#FF1493
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF408A #40CF85
analogous
#CD40CF #CF408A #CF4042
triadic
#CF408A #8ACF40 #408ACF
tetradic
#CF408A #CFCD40 #40CF85 #4042CF
square
#CF408A #CFCD40 #40CF85 #4042CF
split-complementary
#CF408A #42CF40 #40CFCD
monochromatic
#771E4C #A82A6B #CF408A #DB71A8 #E8A2C6
Accessibility & contrast
On white
4.42
#CF408A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#CF408A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF408A
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF408A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF408A | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#58678C
Deuteranopia (green-blind)
#808187
Tritanopia (blue-blind)
#DE365F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cf408a; /* rgb */ color: rgb(207, 64, 138); /* oklch */ color: oklch(59.8% 0.191 352.7);
Tailwind
colors: {
custom: {
50: '#e27fac',
500: '#cf408a',
950: '#000000',
},
}SCSS
$custom: #cf408a; $custom-light: #e27fac; $custom-dark: #000000;
JSON
{
"hex": "#cf408a",
"rgb": {
"r": 207,
"g": 64,
"b": 138
},
"hsl": {
"h": 328.951,
"s": 59.833,
"l": 53.137
},
"oklch": {
"l": 0.59779,
"c": 0.19147,
"h": 352.7
},
"luminance": 0.18767
}Semantic roles & 50–950 ramp
primary
#CF408A
secondary
#97D4B4
accent
#E39145
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F