#CF4D9F#CF4D9F
#CF4D9F is a mid, vivid pink. Relative luminance 0.211; OKLCH L 62.0% C 0.186 H 345.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #CF4D9F |
|---|---|
| RGB | rgb(207, 77, 159) |
| HSL | hsl(322, 58%, 56%) |
| HSV | hsv(322, 63%, 81%) |
| CMYK | cmyk(0%, 62.8%, 23.2%, 18.8%) |
| CIE-LAB | lab(53.04, 59.60, -18.03) |
| CIE-LCH | lch(53.04, 62.26, 343.17°) |
| OKLab | oklab(61.95% 0.1794 -0.0478) |
| OKLCH | oklch(61.95% 0.186 345.1) |
| XYZ | xyz(34.6452, 21.0797, 35.0384) |
| Luminance | 0.2108 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.92
Pale Magenta
#D767AD
ΔE00 6.05
Pinky Purple
#C94CBE
ΔE00 6.72
Purpley Pink
#C83CB9
ΔE00 7.19
Purpleish Pink
#DF4EC8
ΔE00 7.35
Bright Pink
#FE01B1
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF4D9F #4DCF7D
analogous
#BE4DCF #CF4D9F #CF4D5E
triadic
#CF4D9F #9FCF4D #4D9FCF
tetradic
#CF4D9F #CFBE4D #4DCF7D #4D5ECF
square
#CF4D9F #CFBE4D #4DCF7D #4D5ECF
split-complementary
#CF4D9F #5ECF4D #4DCFBE
monochromatic
#7F225D #AF2F80 #CF4D9F #DC7DB9 #E9ADD3
Accessibility & contrast
On white
4.03
#CF4D9F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#CF4D9F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF4D9F
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF4D9F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF4D9F | 1.00 | 4.03 | 5.22 | 5.22 |
| #FFFFFF | 4.03 | 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)
#5A71A1
Deuteranopia (green-blind)
#7F879C
Tritanopia (blue-blind)
#DC4C6F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #cf4d9f; /* rgb */ color: rgb(207, 77, 159); /* oklch */ color: oklch(62.0% 0.186 345.1);
Tailwind
colors: {
custom: {
50: '#e186bb',
500: '#cf4d9f',
950: '#000000',
},
}SCSS
$custom: #cf4d9f; $custom-light: #e186bb; $custom-dark: #000000;
JSON
{
"hex": "#cf4d9f",
"rgb": {
"r": 207,
"g": 77,
"b": 159
},
"hsl": {
"h": 322.154,
"s": 57.522,
"l": 55.686
},
"oklch": {
"l": 0.61953,
"c": 0.18563,
"h": 345.1
},
"luminance": 0.21076
}Semantic roles & 50–950 ramp
primary
#CF4D9F
secondary
#A1D7B5
accent
#E18047
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81