#C12A24#C12A24
#C12A24 is a mid, vivid red. Relative luminance 0.131; OKLCH L 53.1% C 0.188 H 28.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #C12A24 |
|---|---|
| RGB | rgb(193, 42, 36) |
| HSL | hsl(2, 69%, 45%) |
| HSV | hsv(2, 81%, 76%) |
| CMYK | cmyk(0%, 78.2%, 81.3%, 24.3%) |
| CIE-LAB | lab(42.95, 58.12, 41.34) |
| CIE-LCH | lch(42.95, 71.32, 35.43°) |
| OKLab | oklab(53.06% 0.166 0.0885) |
| OKLCH | oklch(53.06% 0.188 28.1) |
| XYZ | xyz(23.1416, 13.1245, 2.9835) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Scarlet
#BE0119
ΔE00 3.42
Firebrick
#B22222
ΔE00 3.69
Dull Red
#BB3F3F
ΔE00 5.73
Reddish
#C44240
ΔE00 5.87
Brown
#A52A2A
ΔE00 6.33
Rusty Red
#AF2F0D
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12A24 #24BBC1
analogous
#C1246D #C12A24 #C17924
triadic
#C12A24 #24C12A #2A24C1
tetradic
#C12A24 #6DC124 #24BBC1 #7924C1
square
#C12A24 #6DC124 #24BBC1 #7924C1
split-complementary
#C12A24 #24C179 #246DC1
monochromatic
#5A1411 #8D1F1A #C12A24 #DC4C46 #E67D79
Accessibility & contrast
On white
5.79
#C12A24 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#C12A24 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12A24
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12A24 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12A24 | 1.00 | 5.79 | 3.62 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5021
Deuteranopia (green-blind)
#7F711C
Tritanopia (blue-blind)
#D5002B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #c12a24; /* rgb */ color: rgb(193, 42, 36); /* oklch */ color: oklch(53.1% 0.188 28.1);
Tailwind
colors: {
custom: {
50: '#de7160',
500: '#c12a24',
950: '#000000',
},
}SCSS
$custom: #c12a24; $custom-light: #de7160; $custom-dark: #000000;
JSON
{
"hex": "#c12a24",
"rgb": {
"r": 193,
"g": 42,
"b": 36
},
"hsl": {
"h": 2.293,
"s": 68.559,
"l": 44.902
},
"oklch": {
"l": 0.5306,
"c": 0.18809,
"h": 28.1
},
"luminance": 0.13121
}Semantic roles & 50–950 ramp
primary
#C12A24
secondary
#73CACE
accent
#E5EB3C
background
#FFF7F5
surface
#FEEDE9
border
#D6C8C5
text
#170905
muted
#857B79