#CF4A87#CF4A87
#CF4A87 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.7% C 0.177 H 355.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #CF4A87 |
|---|---|
| RGB | rgb(207, 74, 135) |
| HSL | hsl(332, 58%, 55%) |
| HSV | hsv(332, 64%, 81%) |
| CMYK | cmyk(0%, 64.3%, 34.8%, 18.8%) |
| CIE-LAB | lab(51.74, 57.85, -5.75) |
| CIE-LCH | lch(51.74, 58.13, 354.33°) |
| OKLab | oklab(60.72% 0.1767 -0.0144) |
| OKLCH | oklch(60.72% 0.177 355.3) |
| XYZ | xyz(32.5559, 19.9158, 25.0466) |
| Luminance | 0.1991 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.73
Dark Pink
#CB416B
ΔE00 6.57
Blush
#DE5D83
ΔE00 7.18
Electric Pink
#FF0490
ΔE00 7.52
Hot Pink (survey)
#FF028D
ΔE00 7.54
Deeppink
#FF1493
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF4A87 #4ACF92
analogous
#CF4ACA #CF4A87 #CF4F4A
triadic
#CF4A87 #87CF4A #4A87CF
tetradic
#CF4A87 #CACF4A #4ACF92 #4F4ACF
square
#CF4A87 #CACF4A #4ACF92 #4F4ACF
split-complementary
#CF4A87 #4ACF4F #4ACACF
monochromatic
#7D214B #AE2E69 #CF4A87 #DC7AA7 #E9ABC7
Accessibility & contrast
On white
4.21
#CF4A87 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#CF4A87 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF4A87
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF4A87 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF4A87 | 1.00 | 4.21 | 4.98 | 4.98 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#606C89
Deuteranopia (green-blind)
#858484
Tritanopia (blue-blind)
#DF4063
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cf4a87; /* rgb */ color: rgb(207, 74, 135); /* oklch */ color: oklch(60.7% 0.177 355.3);
Tailwind
colors: {
custom: {
50: '#e284a9',
500: '#cf4a87',
950: '#000000',
},
}SCSS
$custom: #cf4a87; $custom-light: #e284a9; $custom-dark: #000000;
JSON
{
"hex": "#cf4a87",
"rgb": {
"r": 207,
"g": 74,
"b": 135
},
"hsl": {
"h": 332.481,
"s": 58.079,
"l": 55.098
},
"oklch": {
"l": 0.60723,
"c": 0.17731,
"h": 355.3
},
"luminance": 0.19912
}Semantic roles & 50–950 ramp
primary
#CF4A87
secondary
#9FD6BD
accent
#E19A46
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F