#CF4A7B#CF4A7B
#CF4A7B is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.3% C 0.173 H 1.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #CF4A7B |
|---|---|
| RGB | rgb(207, 74, 123) |
| HSL | hsl(338, 58%, 55%) |
| HSV | hsv(338, 64%, 81%) |
| CMYK | cmyk(0%, 64.3%, 40.6%, 18.8%) |
| CIE-LAB | lab(51.38, 56.53, 0.90) |
| CIE-LCH | lch(51.38, 56.54, 0.91°) |
| OKLab | oklab(60.33% 0.1728 0.003) |
| OKLCH | oklch(60.33% 0.173 1) |
| XYZ | xyz(31.7582, 19.5967, 20.8452) |
| Luminance | 0.1959 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 1.95
Dark Pink
#CB416B
ΔE00 3.79
Deep Rose
#C74767
ΔE00 4.99
Blush
#DE5D83
ΔE00 5.83
Cherry
#DE3163
ΔE00 6.55
Dark Hot Pink
#D90166
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF4A7B #4ACF9E
analogous
#CF4ABD #CF4A7B #CF5C4A
triadic
#CF4A7B #7BCF4A #4A7BCF
tetradic
#CF4A7B #BDCF4A #4ACF9E #5C4ACF
square
#CF4A7B #BDCF4A #4ACF9E #5C4ACF
split-complementary
#CF4A7B #4ACF5C #4ABDCF
monochromatic
#7D2143 #AE2E5D #CF4A7B #DC7A9E #E9ABC2
Accessibility & contrast
On white
4.27
#CF4A7B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#CF4A7B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF4A7B
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF4A7B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF4A7B | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#646A7C
Deuteranopia (green-blind)
#878478
Tritanopia (blue-blind)
#E03B5D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cf4a7b; /* rgb */ color: rgb(207, 74, 123); /* oklch */ color: oklch(60.3% 0.173 1.0);
Tailwind
colors: {
custom: {
50: '#e284a1',
500: '#cf4a7b',
950: '#000000',
},
}SCSS
$custom: #cf4a7b; $custom-light: #e284a1; $custom-dark: #000000;
JSON
{
"hex": "#cf4a7b",
"rgb": {
"r": 207,
"g": 74,
"b": 123
},
"hsl": {
"h": 337.895,
"s": 58.079,
"l": 55.098
},
"oklch": {
"l": 0.60334,
"c": 0.17286,
"h": 1
},
"luminance": 0.19593
}Semantic roles & 50–950 ramp
primary
#CF4A7B
secondary
#9FD6C2
accent
#E1A846
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E