#C5303F#C5303F
#C5303F is a mid, vivid red. Relative luminance 0.143; OKLCH L 54.6% C 0.185 H 20.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #C5303F |
|---|---|
| RGB | rgb(197, 48, 63) |
| HSL | hsl(354, 61%, 48%) |
| HSV | hsv(354, 76%, 77%) |
| CMYK | cmyk(0%, 75.6%, 68%, 22.7%) |
| CIE-LAB | lab(44.73, 58.53, 27.94) |
| CIE-LCH | lch(44.73, 64.86, 25.52°) |
| OKLab | oklab(54.63% 0.1726 0.0654) |
| OKLCH | oklch(54.63% 0.185 20.8) |
| XYZ | xyz(24.9829, 14.3469, 6.1554) |
| Luminance | 0.1434 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 2.25
Dull Red
#BB3F3F
ΔE00 3.03
Cherry (survey)
#CF0234
ΔE00 3.10
Reddish
#C44240
ΔE00 3.85
Crimson
#DC143C
ΔE00 3.91
Dusty Red
#B9484E
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5303F #30C5B6
analogous
#C53089 #C5303F #C56C30
triadic
#C5303F #3FC530 #303FC5
tetradic
#C5303F #89C530 #30C5B6 #6C30C5
square
#C5303F #89C530 #30C5B6 #6C30C5
split-complementary
#C5303F #30C56C #3089C5
monochromatic
#631820 #94242F #C5303F #D75B68 #E38C95
Accessibility & contrast
On white
5.43
#C5303F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#C5303F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C5303F
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5303F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C5303F | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C563E
Deuteranopia (green-blind)
#81753A
Tritanopia (blue-blind)
#D80037
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #c5303f; /* rgb */ color: rgb(197, 48, 63); /* oklch */ color: oklch(54.6% 0.185 20.8);
Tailwind
colors: {
custom: {
50: '#df7574',
500: '#c5303f',
950: '#000000',
},
}SCSS
$custom: #c5303f; $custom-light: #df7574; $custom-dark: #000000;
JSON
{
"hex": "#c5303f",
"rgb": {
"r": 197,
"g": 48,
"b": 63
},
"hsl": {
"h": 353.96,
"s": 60.816,
"l": 48.039
},
"oklch": {
"l": 0.54626,
"c": 0.18452,
"h": 20.8
},
"luminance": 0.14343
}Semantic roles & 50–950 ramp
primary
#C5303F
secondary
#84CDC6
accent
#E4D444
background
#FEF7F7
surface
#FDEEED
border
#D5C9C8
text
#170908
muted
#857B7B