#CF4F97#CF4F97
#CF4F97 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.9% C 0.178 H 348.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #CF4F97 |
|---|---|
| RGB | rgb(207, 79, 151) |
| HSL | hsl(326, 57%, 56%) |
| HSV | hsv(326, 62%, 81%) |
| CMYK | cmyk(0%, 61.8%, 27.1%, 18.8%) |
| CIE-LAB | lab(53.05, 57.69, -13.28) |
| CIE-LCH | lch(53.05, 59.20, 347.03°) |
| OKLab | oklab(61.87% 0.1748 -0.0348) |
| OKLCH | oklch(61.87% 0.178 348.7) |
| XYZ | xyz(34.1154, 21.0951, 31.5472) |
| Luminance | 0.2109 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 5.06
Pale Magenta
#D767AD
ΔE00 6.19
Darkish Pink
#DA467D
ΔE00 6.86
Shocking Pink
#FE02A2
ΔE00 7.41
Neon Pink
#FE019A
ΔE00 7.49
Deeppink
#FF1493
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF4F97 #4FCF87
analogous
#C74FCF #CF4F97 #CF4F57
triadic
#CF4F97 #97CF4F #4F97CF
tetradic
#CF4F97 #CFC74F #4FCF87 #4F57CF
square
#CF4F97 #CFC74F #4FCF87 #4F57CF
split-complementary
#CF4F97 #57CF4F #4FCFC7
monochromatic
#812358 #B13078 #CF4F97 #DC7FB3 #E9AFD0
Accessibility & contrast
On white
4.02
#CF4F97 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#CF4F97 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF4F97
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF4F97 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF4F97 | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F7199
Deuteranopia (green-blind)
#838794
Tritanopia (blue-blind)
#DD4B6C
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #cf4f97; /* rgb */ color: rgb(207, 79, 151); /* oklch */ color: oklch(61.9% 0.178 348.7);
Tailwind
colors: {
custom: {
50: '#e187b5',
500: '#cf4f97',
950: '#000000',
},
}SCSS
$custom: #cf4f97; $custom-light: #e187b5; $custom-dark: #000000;
JSON
{
"hex": "#cf4f97",
"rgb": {
"r": 207,
"g": 79,
"b": 151
},
"hsl": {
"h": 326.25,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.6187,
"c": 0.1782,
"h": 348.7
},
"luminance": 0.21092
}Semantic roles & 50–950 ramp
primary
#CF4F97
secondary
#A2D7BA
accent
#E08A47
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80