#CF5F97#CF5F97
#CF5F97 is a light, vivid pink. Relative luminance 0.237; OKLCH L 63.9% C 0.154 H 351.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #CF5F97 |
|---|---|
| RGB | rgb(207, 95, 151) |
| HSL | hsl(330, 54%, 59%) |
| HSV | hsv(330, 54%, 81%) |
| CMYK | cmyk(0%, 54.1%, 27.1%, 18.8%) |
| CIE-LAB | lab(55.77, 50.41, -9.20) |
| CIE-LCH | lch(55.77, 51.25, 349.66°) |
| OKLab | oklab(63.89% 0.1524 -0.0238) |
| OKLCH | oklch(63.89% 0.154 351.1) |
| XYZ | xyz(35.4116, 23.6874, 31.9793) |
| Luminance | 0.2368 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 4.57
Purplish Pink
#CE5DAE
ΔE00 5.58
Palevioletred
#DB7093
ΔE00 6.53
Darkish Pink
#DA467D
ΔE00 6.85
Blush
#DE5D83
ΔE00 6.92
Medium Pink
#F36196
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF5F97 #5FCF97
analogous
#CF5FCF #CF5F97 #CF5F5F
triadic
#CF5F97 #97CF5F #5F97CF
tetradic
#CF5F97 #CFCF5F #5FCF97 #5F5FCF
square
#CF5F97 #CFCF5F #5FCF97 #5F5FCF
split-complementary
#CF5F97 #5FCF5F #5FCFCF
monochromatic
#8A295A #B93878 #CF5F97 #DD8EB6 #EBBDD4
Accessibility & contrast
On white
3.66
#CF5F97 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.74
#CF5F97 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF5F97
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF5F97 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF5F97 | 1.00 | 3.66 | 5.74 | 5.74 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D7999
Deuteranopia (green-blind)
#8B8D94
Tritanopia (blue-blind)
#DC5A74
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #cf5f97; /* rgb */ color: rgb(207, 95, 151); /* oklch */ color: oklch(63.9% 0.154 351.1);
Tailwind
colors: {
custom: {
50: '#e191b5',
500: '#cf5f97',
950: '#000000',
},
}SCSS
$custom: #cf5f97; $custom-light: #e191b5; $custom-dark: #000000;
JSON
{
"hex": "#cf5f97",
"rgb": {
"r": 207,
"g": 95,
"b": 151
},
"hsl": {
"h": 330,
"s": 53.846,
"l": 59.216
},
"oklch": {
"l": 0.6389,
"c": 0.15428,
"h": 351.1
},
"luminance": 0.23684
}Semantic roles & 50–950 ramp
primary
#CF5F97
secondary
#AFDBC5
accent
#DD944B
background
#FEF9FB
surface
#FCF1F6
border
#D5CBD0
text
#160D11
muted
#847E80