#C12F21#C12F21
#C12F21 is a mid, vivid red. Relative luminance 0.135; OKLCH L 53.4% C 0.185 H 29.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #C12F21 |
|---|---|
| RGB | rgb(193, 47, 33) |
| HSL | hsl(5, 71%, 44%) |
| HSV | hsv(5, 83%, 76%) |
| CMYK | cmyk(0%, 75.6%, 82.9%, 24.3%) |
| CIE-LAB | lab(43.48, 56.47, 43.42) |
| CIE-LCH | lch(43.48, 71.23, 37.56°) |
| OKLab | oklab(53.45% 0.1603 0.0919) |
| OKLCH | oklch(53.45% 0.185 29.8) |
| XYZ | xyz(23.2862, 13.4840, 2.8151) |
| Luminance | 0.1348 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Scarlet
#BE0119
ΔE00 4.44
Firebrick
#B22222
ΔE00 4.71
Rusty Red
#AF2F0D
ΔE00 5.35
Brick
#A03623
ΔE00 6.31
Reddish
#C44240
ΔE00 6.50
Dull Red
#BB3F3F
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12F21 #21B3C1
analogous
#C12163 #C12F21 #C17F21
triadic
#C12F21 #21C12F #2F21C1
tetradic
#C12F21 #63C121 #21B3C1 #7F21C1
square
#C12F21 #63C121 #21B3C1 #7F21C1
split-complementary
#C12F21 #21C17F #2163C1
monochromatic
#58160F #8D2218 #C12F21 #DE4F41 #E77F75
Accessibility & contrast
On white
5.68
#C12F21 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#C12F21 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12F21
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12F21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12F21 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C521D
Deuteranopia (green-blind)
#807219
Tritanopia (blue-blind)
#D5002E
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #c12f21; /* rgb */ color: rgb(193, 47, 33); /* oklch */ color: oklch(53.4% 0.185 29.8);
Tailwind
colors: {
custom: {
50: '#de735e',
500: '#c12f21',
950: '#000000',
},
}SCSS
$custom: #c12f21; $custom-light: #de735e; $custom-dark: #000000;
JSON
{
"hex": "#c12f21",
"rgb": {
"r": 193,
"g": 47,
"b": 33
},
"hsl": {
"h": 5.25,
"s": 70.796,
"l": 44.314
},
"oklch": {
"l": 0.53449,
"c": 0.18475,
"h": 29.8
},
"luminance": 0.1348
}Semantic roles & 50–950 ramp
primary
#C12F21
secondary
#6FC6CF
accent
#DEEE3A
background
#FFF7F5
surface
#FEEDE9
border
#D6C8C5
text
#170904
muted
#857B79