#CF4A9D#CF4A9D
#CF4A9D is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.5% C 0.189 H 345.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #CF4A9D |
|---|---|
| RGB | rgb(207, 74, 157) |
| HSL | hsl(323, 58%, 55%) |
| HSV | hsv(323, 64%, 81%) |
| CMYK | cmyk(0%, 64.3%, 24.2%, 18.8%) |
| CIE-LAB | lab(52.51, 60.57, -17.65) |
| CIE-LCH | lch(52.51, 63.09, 343.75°) |
| OKLab | oklab(61.54% 0.1827 -0.0468) |
| OKLCH | oklch(61.54% 0.189 345.6) |
| XYZ | xyz(34.2680, 20.6007, 34.0634) |
| Luminance | 0.2060 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.53
Pale Magenta
#D767AD
ΔE00 6.63
Pinky Purple
#C94CBE
ΔE00 6.95
Purpley Pink
#C83CB9
ΔE00 7.18
Shocking Pink
#FE02A2
ΔE00 7.30
Bright Pink
#FE01B1
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF4A9D #4ACF7C
analogous
#BE4ACF #CF4A9D #CF4A5B
triadic
#CF4A9D #9DCF4A #4A9DCF
tetradic
#CF4A9D #CFBE4A #4ACF7C #4A5BCF
square
#CF4A9D #CFBE4A #4ACF7C #4A5BCF
split-complementary
#CF4A9D #5BCF4A #4ACFBE
monochromatic
#7D215B #AE2E7E #CF4A9D #DC7AB7 #E9ABD1
Accessibility & contrast
On white
4.10
#CF4A9D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#CF4A9D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF4A9D
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF4A9D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF4A9D | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#586F9F
Deuteranopia (green-blind)
#7F869A
Tritanopia (blue-blind)
#DC486D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #cf4a9d; /* rgb */ color: rgb(207, 74, 157); /* oklch */ color: oklch(61.5% 0.189 345.6);
Tailwind
colors: {
custom: {
50: '#e185ba',
500: '#cf4a9d',
950: '#000000',
},
}SCSS
$custom: #cf4a9d; $custom-light: #e185ba; $custom-dark: #000000;
JSON
{
"hex": "#cf4a9d",
"rgb": {
"r": 207,
"g": 74,
"b": 157
},
"hsl": {
"h": 322.556,
"s": 58.079,
"l": 55.098
},
"oklch": {
"l": 0.61541,
"c": 0.18857,
"h": 345.6
},
"luminance": 0.20597
}Semantic roles & 50–950 ramp
primary
#CF4A9D
secondary
#9FD6B3
accent
#E18146
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80