#CF4A7F#CF4A7F
#CF4A7F is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.5% C 0.174 H 359.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #CF4A7F |
|---|---|
| RGB | rgb(207, 74, 127) |
| HSL | hsl(336, 58%, 55%) |
| HSV | hsv(336, 64%, 81%) |
| CMYK | cmyk(0%, 64.3%, 38.6%, 18.8%) |
| CIE-LAB | lab(51.50, 56.96, -1.33) |
| CIE-LCH | lch(51.50, 56.97, 358.67°) |
| OKLab | oklab(60.46% 0.1742 -0.0028) |
| OKLCH | oklch(60.46% 0.174 359.1) |
| XYZ | xyz(32.0137, 19.6990, 22.1909) |
| Luminance | 0.1969 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 2.27
Dark Pink
#CB416B
ΔE00 4.70
Deep Rose
#C74767
ΔE00 5.98
Blush
#DE5D83
ΔE00 6.16
Dark Hot Pink
#D90166
ΔE00 7.42
Cherry
#DE3163
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF4A7F #4ACF9A
analogous
#CF4AC2 #CF4A7F #CF574A
triadic
#CF4A7F #7FCF4A #4A7FCF
tetradic
#CF4A7F #C2CF4A #4ACF9A #574ACF
square
#CF4A7F #C2CF4A #4ACF9A #574ACF
split-complementary
#CF4A7F #4ACF57 #4AC2CF
monochromatic
#7D2146 #AE2E61 #CF4A7F #DC7AA1 #E9ABC3
Accessibility & contrast
On white
4.25
#CF4A7F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#CF4A7F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF4A7F
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF4A7F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF4A7F | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#636B80
Deuteranopia (green-blind)
#86847C
Tritanopia (blue-blind)
#DF3D5F
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cf4a7f; /* rgb */ color: rgb(207, 74, 127); /* oklch */ color: oklch(60.5% 0.174 359.1);
Tailwind
colors: {
custom: {
50: '#e284a4',
500: '#cf4a7f',
950: '#000000',
},
}SCSS
$custom: #cf4a7f; $custom-light: #e284a4; $custom-dark: #000000;
JSON
{
"hex": "#cf4a7f",
"rgb": {
"r": 207,
"g": 74,
"b": 127
},
"hsl": {
"h": 336.09,
"s": 58.079,
"l": 55.098
},
"oklch": {
"l": 0.60459,
"c": 0.17419,
"h": 359.1
},
"luminance": 0.19695
}Semantic roles & 50–950 ramp
primary
#CF4A7F
secondary
#9FD6C0
accent
#E1A446
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160B0F
muted
#847C7F