#CF4F96#CF4F96
#CF4F96 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.8% C 0.178 H 349.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #CF4F96 |
|---|---|
| RGB | rgb(207, 79, 150) |
| HSL | hsl(327, 57%, 56%) |
| HSV | hsv(327, 62%, 81%) |
| CMYK | cmyk(0%, 61.8%, 27.5%, 18.8%) |
| CIE-LAB | lab(53.02, 57.56, -12.75) |
| CIE-LCH | lch(53.02, 58.96, 347.51°) |
| OKLab | oklab(61.83% 0.1745 -0.0333) |
| OKLCH | oklch(61.83% 0.178 349.2) |
| XYZ | xyz(34.0346, 21.0628, 31.1214) |
| Luminance | 0.2106 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 5.26
Pale Magenta
#D767AD
ΔE00 6.28
Darkish Pink
#DA467D
ΔE00 6.64
Shocking Pink
#FE02A2
ΔE00 7.43
Neon Pink
#FE019A
ΔE00 7.47
Deeppink
#FF1493
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF4F96 #4FCF88
analogous
#C84FCF #CF4F96 #CF4F56
triadic
#CF4F96 #96CF4F #4F96CF
tetradic
#CF4F96 #CFC84F #4FCF88 #4F56CF
square
#CF4F96 #CFC84F #4FCF88 #4F56CF
split-complementary
#CF4F96 #56CF4F #4FCFC8
monochromatic
#812357 #B13077 #CF4F96 #DC7FB3 #E9AFCF
Accessibility & contrast
On white
4.03
#CF4F96 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#CF4F96 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF4F96
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF4F96 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF4F96 | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F7098
Deuteranopia (green-blind)
#838793
Tritanopia (blue-blind)
#DD4A6C
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #cf4f96; /* rgb */ color: rgb(207, 79, 150); /* oklch */ color: oklch(61.8% 0.178 349.2);
Tailwind
colors: {
custom: {
50: '#e187b5',
500: '#cf4f96',
950: '#000000',
},
}SCSS
$custom: #cf4f96; $custom-light: #e187b5; $custom-dark: #000000;
JSON
{
"hex": "#cf4f96",
"rgb": {
"r": 207,
"g": 79,
"b": 150
},
"hsl": {
"h": 326.719,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.61832,
"c": 0.17765,
"h": 349.2
},
"luminance": 0.21059
}Semantic roles & 50–950 ramp
primary
#CF4F96
secondary
#A2D7BA
accent
#E08C47
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80