#C12B22#C12B22
#C12B22 is a mid, vivid red. Relative luminance 0.132; OKLCH L 53.1% C 0.188 H 28.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #C12B22 |
|---|---|
| RGB | rgb(193, 43, 34) |
| HSL | hsl(3, 70%, 45%) |
| HSV | hsv(3, 82%, 76%) |
| CMYK | cmyk(0%, 77.7%, 82.4%, 24.3%) |
| CIE-LAB | lab(43.04, 57.76, 42.49) |
| CIE-LCH | lch(43.04, 71.70, 36.34°) |
| OKLab | oklab(53.12% 0.1645 0.0903) |
| OKLCH | oklch(53.12% 0.188 28.8) |
| XYZ | xyz(23.1478, 13.1844, 2.8391) |
| Luminance | 0.1318 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Scarlet
#BE0119
ΔE00 3.66
Firebrick
#B22222
ΔE00 4.00
Rusty Red
#AF2F0D
ΔE00 5.85
Dull Red
#BB3F3F
ΔE00 6.19
Reddish
#C44240
ΔE00 6.23
Brick
#A03623
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12B22 #22B8C1
analogous
#C12269 #C12B22 #C17A22
triadic
#C12B22 #22C12B #2B22C1
tetradic
#C12B22 #69C122 #22B8C1 #7A22C1
square
#C12B22 #69C122 #22B8C1 #7A22C1
split-complementary
#C12B22 #22C17A #2269C1
monochromatic
#591410 #8D1F19 #C12B22 #DE4B42 #E77D76
Accessibility & contrast
On white
5.78
#C12B22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#C12B22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12B22
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12B22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12B22 | 1.00 | 5.78 | 3.64 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A511F
Deuteranopia (green-blind)
#7F711A
Tritanopia (blue-blind)
#D5002B
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #c12b22; /* rgb */ color: rgb(193, 43, 34); /* oklch */ color: oklch(53.1% 0.188 28.8);
Tailwind
colors: {
custom: {
50: '#de725f',
500: '#c12b22',
950: '#000000',
},
}SCSS
$custom: #c12b22; $custom-light: #de725f; $custom-dark: #000000;
JSON
{
"hex": "#c12b22",
"rgb": {
"r": 193,
"g": 43,
"b": 34
},
"hsl": {
"h": 3.396,
"s": 70.044,
"l": 44.51
},
"oklch": {
"l": 0.53121,
"c": 0.18761,
"h": 28.8
},
"luminance": 0.13181
}Semantic roles & 50–950 ramp
primary
#C12B22
secondary
#71C9CE
accent
#E3ED3B
background
#FFF7F5
surface
#FEEDE9
border
#D6C8C5
text
#170904
muted
#857B79