#C54168#C54168
#C54168 is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.2% C 0.170 H 6.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #C54168 |
|---|---|
| RGB | rgb(197, 65, 104) |
| HSL | hsl(342, 53%, 51%) |
| HSV | hsv(342, 67%, 77%) |
| CMYK | cmyk(0%, 67%, 47.2%, 22.7%) |
| CIE-LAB | lab(47.82, 55.28, 7.05) |
| CIE-LCH | lch(47.82, 55.73, 7.27°) |
| OKLab | oklab(57.2% 0.1685 0.0186) |
| OKLCH | oklch(57.2% 0.17 6.3) |
| XYZ | xyz(27.4171, 16.6539, 14.8648) |
| Luminance | 0.1665 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 1.26
Deep Rose
#C74767
ΔE00 1.87
Dark Rose
#B5485D
ΔE00 4.21
Cherry
#DE3163
ΔE00 4.87
Cerise
#DE0C62
ΔE00 4.99
Dark Hot Pink
#D90166
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C54168 #41C59E
analogous
#C541AA #C54168 #C55C41
triadic
#C54168 #68C541 #4168C5
tetradic
#C54168 #AAC541 #41C59E #5C41C5
square
#C54168 #AAC541 #41C59E #5C41C5
split-complementary
#C54168 #41C55C #41AAC5
monochromatic
#6B2137 #9A2F4F #C54168 #D3708D #E29FB3
Accessibility & contrast
On white
4.85
#C54168 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#C54168 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C54168
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C54168 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C54168 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E6169
Deuteranopia (green-blind)
#817B65
Tritanopia (blue-blind)
#D62D51
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #c54168; /* rgb */ color: rgb(197, 65, 104); /* oklch */ color: oklch(57.2% 0.170 6.3);
Tailwind
colors: {
custom: {
50: '#dc7e92',
500: '#c54168',
950: '#000000',
},
}SCSS
$custom: #c54168; $custom-light: #dc7e92; $custom-dark: #000000;
JSON
{
"hex": "#c54168",
"rgb": {
"r": 197,
"g": 65,
"b": 104
},
"hsl": {
"h": 342.273,
"s": 53.226,
"l": 51.373
},
"oklch": {
"l": 0.57203,
"c": 0.16954,
"h": 6.3
},
"luminance": 0.1665
}Semantic roles & 50–950 ramp
primary
#C54168
secondary
#94CEBD
accent
#DDB24B
background
#FEF8F8
surface
#FCEFF0
border
#D5CACB
text
#160A0D
muted
#847C7D