#CF4A78#CF4A78
#CF4A78 is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.2% C 0.172 H 2.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #CF4A78 |
|---|---|
| RGB | rgb(207, 74, 120) |
| HSL | hsl(339, 58%, 55%) |
| HSV | hsv(339, 64%, 81%) |
| CMYK | cmyk(0%, 64.3%, 42%, 18.8%) |
| CIE-LAB | lab(51.29, 56.23, 2.58) |
| CIE-LCH | lch(51.29, 56.28, 2.63°) |
| OKLab | oklab(60.24% 0.1718 0.0073) |
| OKLCH | oklch(60.24% 0.172 2.4) |
| XYZ | xyz(31.5733, 19.5228, 19.8712) |
| Luminance | 0.1952 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 2.07
Dark Pink
#CB416B
ΔE00 3.17
Deep Rose
#C74767
ΔE00 4.26
Blush
#DE5D83
ΔE00 5.69
Cherry
#DE3163
ΔE00 5.87
Cerise
#DE0C62
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF4A78 #4ACFA1
analogous
#CF4ABB #CF4A78 #CF5E4A
triadic
#CF4A78 #78CF4A #4A78CF
tetradic
#CF4A78 #BBCF4A #4ACFA1 #5E4ACF
square
#CF4A78 #BBCF4A #4ACFA1 #5E4ACF
split-complementary
#CF4A78 #4ACF5E #4ABBCF
monochromatic
#7D2141 #AE2E5A #CF4A78 #DC7A9C #E9ABC0
Accessibility & contrast
On white
4.28
#CF4A78 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#CF4A78 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF4A78
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF4A78 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF4A78 | 1.00 | 4.28 | 4.90 | 4.90 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#646A79
Deuteranopia (green-blind)
#888475
Tritanopia (blue-blind)
#E03A5C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cf4a78; /* rgb */ color: rgb(207, 74, 120); /* oklch */ color: oklch(60.2% 0.172 2.4);
Tailwind
colors: {
custom: {
50: '#e2849e',
500: '#cf4a78',
950: '#000000',
},
}SCSS
$custom: #cf4a78; $custom-light: #e2849e; $custom-dark: #000000;
JSON
{
"hex": "#cf4a78",
"rgb": {
"r": 207,
"g": 74,
"b": 120
},
"hsl": {
"h": 339.248,
"s": 58.079,
"l": 55.098
},
"oklch": {
"l": 0.60243,
"c": 0.17195,
"h": 2.4
},
"luminance": 0.19519
}Semantic roles & 50–950 ramp
primary
#CF4A78
secondary
#9FD6C3
accent
#E1AC46
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E