#C54878#C54878
#C54878 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.5% C 0.165 H 359.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #C54878 |
|---|---|
| RGB | rgb(197, 72, 120) |
| HSL | hsl(337, 52%, 53%) |
| HSV | hsv(337, 63%, 77%) |
| CMYK | cmyk(0%, 63.5%, 39.1%, 22.7%) |
| CIE-LAB | lab(49.33, 53.98, -0.48) |
| CIE-LCH | lch(49.33, 53.98, 359.49°) |
| OKLab | oklab(58.47% 0.165 -0.0006) |
| OKLCH | oklch(58.47% 0.165 359.8) |
| XYZ | xyz(28.7353, 17.8644, 19.7006) |
| Luminance | 0.1786 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 3.69
Darkish Pink
#DA467D
ΔE00 4.11
Deep Rose
#C74767
ΔE00 4.96
Dark Hot Pink
#D90166
ΔE00 6.64
Cerise
#DE0C62
ΔE00 7.30
Dark Rose
#B5485D
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C54878 #48C595
analogous
#C548B6 #C54878 #C55648
triadic
#C54878 #78C548 #4878C5
tetradic
#C54878 #B6C548 #48C595 #5648C5
square
#C54878 #B6C548 #48C595 #5648C5
split-complementary
#C54878 #48C556 #48B6C5
monochromatic
#6F2340 #9E325B #C54878 #D4769A #E2A5BD
Accessibility & contrast
On white
4.59
#C54878 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#C54878 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #C54878
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C54878 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C54878 | 1.00 | 4.59 | 4.57 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F6679
Deuteranopia (green-blind)
#817E75
Tritanopia (blue-blind)
#D53B5B
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #c54878; /* rgb */ color: rgb(197, 72, 120); /* oklch */ color: oklch(58.5% 0.165 359.8);
Tailwind
colors: {
custom: {
50: '#db829e',
500: '#c54878',
950: '#000000',
},
}SCSS
$custom: #c54878; $custom-light: #db829e; $custom-dark: #000000;
JSON
{
"hex": "#c54878",
"rgb": {
"r": 197,
"g": 72,
"b": 120
},
"hsl": {
"h": 336.96,
"s": 51.867,
"l": 52.745
},
"oklch": {
"l": 0.5847,
"c": 0.16498,
"h": 359.8
},
"luminance": 0.17861
}Semantic roles & 50–950 ramp
primary
#C54878
secondary
#99CFBB
accent
#DBA44C
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E