#C5334F#C5334F
#C5334F is a mid, vivid red. Relative luminance 0.148; OKLCH L 55.2% C 0.182 H 14.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #C5334F |
|---|---|
| RGB | rgb(197, 51, 79) |
| HSL | hsl(348, 59%, 49%) |
| HSV | hsv(348, 74%, 77%) |
| CMYK | cmyk(0%, 74.1%, 59.9%, 22.7%) |
| CIE-LAB | lab(45.37, 58.49, 18.99) |
| CIE-LCH | lch(45.37, 61.49, 17.99°) |
| OKLab | oklab(55.2% 0.1756 0.0466) |
| OKLCH | oklch(55.2% 0.182 14.9) |
| XYZ | xyz(25.6236, 14.8062, 8.9043) |
| Luminance | 0.1480 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick
#D5174E
ΔE00 2.94
Ruby
#CA0147
ΔE00 3.62
Dusty Red
#B9484E
ΔE00 4.59
Dark Rose
#B5485D
ΔE00 4.84
Cardinal
#C41E3A
ΔE00 4.91
Rose Red
#BE013C
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5334F #33C5A9
analogous
#C53398 #C5334F #C56033
triadic
#C5334F #4FC533 #334FC5
tetradic
#C5334F #98C533 #33C5A9 #6033C5
square
#C5334F #98C533 #33C5A9 #6033C5
split-complementary
#C5334F #33C560 #3398C5
monochromatic
#641A28 #94263C #C5334F #D65F76 #E290A0
Accessibility & contrast
On white
5.30
#C5334F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#C5334F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C5334F
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5334F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C5334F | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B584F
Deuteranopia (green-blind)
#80764B
Tritanopia (blue-blind)
#D8003F
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #c5334f; /* rgb */ color: rgb(197, 51, 79); /* oklch */ color: oklch(55.2% 0.182 14.9);
Tailwind
colors: {
custom: {
50: '#de7780',
500: '#c5334f',
950: '#000000',
},
}SCSS
$custom: #c5334f; $custom-light: #de7780; $custom-dark: #000000;
JSON
{
"hex": "#c5334f",
"rgb": {
"r": 197,
"g": 51,
"b": 79
},
"hsl": {
"h": 348.493,
"s": 58.871,
"l": 48.627
},
"oklch": {
"l": 0.55195,
"c": 0.18164,
"h": 14.9
},
"luminance": 0.14802
}Semantic roles & 50–950 ramp
primary
#C5334F
secondary
#87CDC0
accent
#E2C446
background
#FEF7F7
surface
#FDEEEE
border
#D5C9C9
text
#16090A
muted
#847B7C