#CF4F9E#CF4F9E
#CF4F9E is a light, vivid pink. Relative luminance 0.213; OKLCH L 62.1% C 0.182 H 345.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #CF4F9E |
|---|---|
| RGB | rgb(207, 79, 158) |
| HSL | hsl(323, 57%, 56%) |
| HSV | hsv(323, 62%, 81%) |
| CMYK | cmyk(0%, 61.8%, 23.7%, 18.8%) |
| CIE-LAB | lab(53.31, 58.62, -17.02) |
| CIE-LCH | lch(53.31, 61.04, 343.81°) |
| OKLab | oklab(62.14% 0.1766 -0.0451) |
| OKLCH | oklch(62.14% 0.182 345.7) |
| XYZ | xyz(34.7009, 21.3293, 34.6306) |
| Luminance | 0.2133 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.85
Pale Magenta
#D767AD
ΔE00 5.73
Pinky Purple
#C94CBE
ΔE00 7.09
Shocking Pink
#FE02A2
ΔE00 7.41
Bright Pink
#FE01B1
ΔE00 7.49
Purpleish Pink
#DF4EC8
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF4F9E #4FCF80
analogous
#C04FCF #CF4F9E #CF4F5E
triadic
#CF4F9E #9ECF4F #4F9ECF
tetradic
#CF4F9E #CFC04F #4FCF80 #4F5ECF
square
#CF4F9E #CFC04F #4FCF80 #4F5ECF
split-complementary
#CF4F9E #5ECF4F #4FCFC0
monochromatic
#81235D #B1307F #CF4F9E #DC7FB9 #E9AFD3
Accessibility & contrast
On white
3.99
#CF4F9E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#CF4F9E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF4F9E
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF4F9E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF4F9E | 1.00 | 3.99 | 5.27 | 5.27 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C72A0
Deuteranopia (green-blind)
#81879B
Tritanopia (blue-blind)
#DC4D70
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #cf4f9e; /* rgb */ color: rgb(207, 79, 158); /* oklch */ color: oklch(62.1% 0.182 345.7);
Tailwind
colors: {
custom: {
50: '#e187ba',
500: '#cf4f9e',
950: '#000000',
},
}SCSS
$custom: #cf4f9e; $custom-light: #e187ba; $custom-dark: #000000;
JSON
{
"hex": "#cf4f9e",
"rgb": {
"r": 207,
"g": 79,
"b": 158
},
"hsl": {
"h": 322.969,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.62141,
"c": 0.18221,
"h": 345.7
},
"luminance": 0.21326
}Semantic roles & 50–950 ramp
primary
#CF4F9E
secondary
#A2D7B7
accent
#E08247
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80