#C12A22#C12A22
#C12A22 is a mid, vivid red. Relative luminance 0.131; OKLCH L 53.0% C 0.188 H 28.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #C12A22 |
|---|---|
| RGB | rgb(193, 42, 34) |
| HSL | hsl(3, 70%, 45%) |
| HSV | hsv(3, 82%, 76%) |
| CMYK | cmyk(0%, 78.2%, 82.4%, 24.3%) |
| CIE-LAB | lab(42.93, 58.06, 42.38) |
| CIE-LCH | lch(42.93, 71.89, 36.13°) |
| OKLab | oklab(53.04% 0.1654 0.09) |
| OKLCH | oklch(53.04% 0.188 28.6) |
| XYZ | xyz(23.1119, 13.1126, 2.8271) |
| Luminance | 0.1311 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Scarlet
#BE0119
ΔE00 3.51
Firebrick
#B22222
ΔE00 3.87
Rusty Red
#AF2F0D
ΔE00 5.94
Dull Red
#BB3F3F
ΔE00 6.14
Reddish
#C44240
ΔE00 6.23
Brick
#A03623
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12A22 #22B9C1
analogous
#C1226A #C12A22 #C17A22
triadic
#C12A22 #22C12A #2A22C1
tetradic
#C12A22 #6AC122 #22B9C1 #7A22C1
square
#C12A22 #6AC122 #22B9C1 #7A22C1
split-complementary
#C12A22 #22C17A #226AC1
monochromatic
#591310 #8D1F19 #C12A22 #DE4A42 #E77C76
Accessibility & contrast
On white
5.80
#C12A22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#C12A22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12A22
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12A22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12A22 | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A501F
Deuteranopia (green-blind)
#7F711A
Tritanopia (blue-blind)
#D5002A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #c12a22; /* rgb */ color: rgb(193, 42, 34); /* oklch */ color: oklch(53.0% 0.188 28.6);
Tailwind
colors: {
custom: {
50: '#de715f',
500: '#c12a22',
950: '#000000',
},
}SCSS
$custom: #c12a22; $custom-light: #de715f; $custom-dark: #000000;
JSON
{
"hex": "#c12a22",
"rgb": {
"r": 193,
"g": 42,
"b": 34
},
"hsl": {
"h": 3.019,
"s": 70.044,
"l": 44.51
},
"oklch": {
"l": 0.53042,
"c": 0.18833,
"h": 28.6
},
"luminance": 0.13109
}Semantic roles & 50–950 ramp
primary
#C12A22
secondary
#71CACE
accent
#E4ED3B
background
#FFF7F5
surface
#FEEDE9
border
#D6C8C5
text
#170904
muted
#857B79