#CF4F9F#CF4F9F
#CF4F9F is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.2% C 0.183 H 345.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #CF4F9F |
|---|---|
| RGB | rgb(207, 79, 159) |
| HSL | hsl(323, 57%, 56%) |
| HSV | hsv(323, 62%, 81%) |
| CMYK | cmyk(0%, 61.8%, 23.2%, 18.8%) |
| CIE-LAB | lab(53.35, 58.75, -17.55) |
| CIE-LCH | lch(53.35, 61.32, 343.36°) |
| OKLab | oklab(62.18% 0.1768 -0.0465) |
| OKLCH | oklch(62.18% 0.183 345.3) |
| XYZ | xyz(34.7873, 21.3639, 35.0857) |
| Luminance | 0.2136 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.70
Pale Magenta
#D767AD
ΔE00 5.70
Pinky Purple
#C94CBE
ΔE00 6.88
Purpleish Pink
#DF4EC8
ΔE00 7.36
Shocking Pink
#FE02A2
ΔE00 7.44
Bright Pink
#FE01B1
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF4F9F #4FCF7F
analogous
#BF4FCF #CF4F9F #CF4F5F
triadic
#CF4F9F #9FCF4F #4F9FCF
tetradic
#CF4F9F #CFBF4F #4FCF7F #4F5FCF
square
#CF4F9F #CFBF4F #4FCF7F #4F5FCF
split-complementary
#CF4F9F #5FCF4F #4FCFBF
monochromatic
#81235D #B13080 #CF4F9F #DC7FB9 #E9AFD3
Accessibility & contrast
On white
3.98
#CF4F9F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#CF4F9F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF4F9F
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF4F9F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF4F9F | 1.00 | 3.98 | 5.27 | 5.27 |
| #FFFFFF | 3.98 | 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)
#5C72A1
Deuteranopia (green-blind)
#80879C
Tritanopia (blue-blind)
#DC4D70
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #cf4f9f; /* rgb */ color: rgb(207, 79, 159); /* oklch */ color: oklch(62.2% 0.183 345.3);
Tailwind
colors: {
custom: {
50: '#e188bb',
500: '#cf4f9f',
950: '#000000',
},
}SCSS
$custom: #cf4f9f; $custom-light: #e188bb; $custom-dark: #000000;
JSON
{
"hex": "#cf4f9f",
"rgb": {
"r": 207,
"g": 79,
"b": 159
},
"hsl": {
"h": 322.5,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.62181,
"c": 0.18281,
"h": 345.3
},
"luminance": 0.21361
}Semantic roles & 50–950 ramp
primary
#CF4F9F
secondary
#A2D7B6
accent
#E08147
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81