#C54162#C54162
#C54162 is a mid, vivid red. Relative luminance 0.165; OKLCH L 57.0% C 0.168 H 9.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #C54162 |
|---|---|
| RGB | rgb(197, 65, 98) |
| HSL | hsl(345, 53%, 51%) |
| HSV | hsv(345, 67%, 77%) |
| CMYK | cmyk(0%, 67%, 50.3%, 22.7%) |
| CIE-LAB | lab(47.67, 54.74, 10.50) |
| CIE-LCH | lch(47.67, 55.74, 10.86°) |
| OKLab | oklab(57.04% 0.1663 0.027) |
| OKLCH | oklch(57.04% 0.168 9.2) |
| XYZ | xyz(27.1231, 16.5363, 13.3164) |
| Luminance | 0.1653 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Rose
#C74767
ΔE00 1.49
Dark Pink
#CB416B
ΔE00 2.40
Dark Rose
#B5485D
ΔE00 3.25
Cherry
#DE3163
ΔE00 4.36
Cerise
#DE0C62
ΔE00 5.05
Raspberry
#E30B5C
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C54162 #41C5A4
analogous
#C541A4 #C54162 #C56241
triadic
#C54162 #62C541 #4162C5
tetradic
#C54162 #A4C541 #41C5A4 #6241C5
square
#C54162 #A4C541 #41C5A4 #6241C5
split-complementary
#C54162 #41C562 #41A4C5
monochromatic
#6B2133 #9A2F4A #C54162 #D37089 #E29FAF
Accessibility & contrast
On white
4.88
#C54162 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#C54162 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C54162
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C54162 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C54162 | 1.00 | 4.88 | 4.31 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F6063
Deuteranopia (green-blind)
#827B5F
Tritanopia (blue-blind)
#D62A4E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #c54162; /* rgb */ color: rgb(197, 65, 98); /* oklch */ color: oklch(57.0% 0.168 9.2);
Tailwind
colors: {
custom: {
50: '#dc7e8e',
500: '#c54162',
950: '#000000',
},
}SCSS
$custom: #c54162; $custom-light: #dc7e8e; $custom-dark: #000000;
JSON
{
"hex": "#c54162",
"rgb": {
"r": 197,
"g": 65,
"b": 98
},
"hsl": {
"h": 345,
"s": 53.226,
"l": 51.373
},
"oklch": {
"l": 0.57042,
"c": 0.16845,
"h": 9.2
},
"luminance": 0.16533
}Semantic roles & 50–950 ramp
primary
#C54162
secondary
#94CEBF
accent
#DDB84B
background
#FEF8F8
surface
#FCEFF0
border
#D5CACB
text
#160A0C
muted
#847C7D