#CF4878#CF4878
#CF4878 is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.0% C 0.175 H 2.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #CF4878 |
|---|---|
| RGB | rgb(207, 72, 120) |
| HSL | hsl(339, 58%, 55%) |
| HSV | hsv(339, 65%, 81%) |
| CMYK | cmyk(0%, 65.2%, 42%, 18.8%) |
| CIE-LAB | lab(50.99, 57.05, 2.14) |
| CIE-LCH | lch(50.99, 57.09, 2.15°) |
| OKLab | oklab(60.02% 0.1744 0.0062) |
| OKLCH | oklch(60.02% 0.175 2) |
| XYZ | xyz(31.4418, 19.2600, 19.8274) |
| Luminance | 0.1926 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 2.11
Dark Pink
#CB416B
ΔE00 3.09
Deep Rose
#C74767
ΔE00 4.35
Cherry
#DE3163
ΔE00 5.91
Blush
#DE5D83
ΔE00 6.07
Dark Hot Pink
#D90166
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF4878 #48CF9F
analogous
#CF48BB #CF4878 #CF5C48
triadic
#CF4878 #78CF48 #4878CF
tetradic
#CF4878 #BBCF48 #48CF9F #5C48CF
square
#CF4878 #BBCF48 #48CF9F #5C48CF
split-complementary
#CF4878 #48CF5C #48BBCF
monochromatic
#7C2141 #AD2D5B #CF4878 #DC789C #E8A9C0
Accessibility & contrast
On white
4.33
#CF4878 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#CF4878 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF4878
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF4878 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF4878 | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#636979
Deuteranopia (green-blind)
#878375
Tritanopia (blue-blind)
#E0385B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #cf4878; /* rgb */ color: rgb(207, 72, 120); /* oklch */ color: oklch(60.0% 0.175 2.0);
Tailwind
colors: {
custom: {
50: '#e3839e',
500: '#cf4878',
950: '#000000',
},
}SCSS
$custom: #cf4878; $custom-light: #e3839e; $custom-dark: #000000;
JSON
{
"hex": "#cf4878",
"rgb": {
"r": 207,
"g": 72,
"b": 120
},
"hsl": {
"h": 338.667,
"s": 58.442,
"l": 54.706
},
"oklch": {
"l": 0.60018,
"c": 0.17452,
"h": 2
},
"luminance": 0.19256
}Semantic roles & 50–950 ramp
primary
#CF4878
secondary
#9DD6C2
accent
#E2AA46
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E