#CF4A9F#CF4A9F
#CF4A9F is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.6% C 0.190 H 344.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #CF4A9F |
|---|---|
| RGB | rgb(207, 74, 159) |
| HSL | hsl(322, 58%, 55%) |
| HSV | hsv(322, 64%, 81%) |
| CMYK | cmyk(0%, 64.3%, 23.2%, 18.8%) |
| CIE-LAB | lab(52.59, 60.83, -18.71) |
| CIE-LCH | lch(52.59, 63.65, 342.90°) |
| OKLab | oklab(61.62% 0.1831 -0.0497) |
| OKLCH | oklch(61.62% 0.19 344.8) |
| XYZ | xyz(34.4401, 20.6695, 34.9700) |
| Luminance | 0.2067 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.30
Pinky Purple
#C94CBE
ΔE00 6.53
Pale Magenta
#D767AD
ΔE00 6.58
Purpley Pink
#C83CB9
ΔE00 6.80
Bright Pink
#FE01B1
ΔE00 7.28
Shocking Pink
#FE02A2
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF4A9F #4ACF7A
analogous
#BC4ACF #CF4A9F #CF4A5C
triadic
#CF4A9F #9FCF4A #4A9FCF
tetradic
#CF4A9F #CFBC4A #4ACF7A #4A5CCF
square
#CF4A9F #CFBC4A #4ACF7A #4A5CCF
split-complementary
#CF4A9F #5CCF4A #4ACFBC
monochromatic
#7D215C #AE2E80 #CF4A9F #DC7AB9 #E9ABD2
Accessibility & contrast
On white
4.09
#CF4A9F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#CF4A9F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF4A9F
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF4A9F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF4A9F | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#576FA2
Deuteranopia (green-blind)
#7E869C
Tritanopia (blue-blind)
#DC496E
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #cf4a9f; /* rgb */ color: rgb(207, 74, 159); /* oklch */ color: oklch(61.6% 0.190 344.8);
Tailwind
colors: {
custom: {
50: '#e185bb',
500: '#cf4a9f',
950: '#000000',
},
}SCSS
$custom: #cf4a9f; $custom-light: #e185bb; $custom-dark: #000000;
JSON
{
"hex": "#cf4a9f",
"rgb": {
"r": 207,
"g": 74,
"b": 159
},
"hsl": {
"h": 321.654,
"s": 58.079,
"l": 55.098
},
"oklch": {
"l": 0.61622,
"c": 0.18977,
"h": 344.8
},
"luminance": 0.20666
}Semantic roles & 50–950 ramp
primary
#CF4A9F
secondary
#9FD6B3
accent
#E17E46
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81