#C12F22#C12F22
#C12F22 is a mid, vivid red. Relative luminance 0.135; OKLCH L 53.5% C 0.185 H 29.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #C12F22 |
|---|---|
| RGB | rgb(193, 47, 34) |
| HSL | hsl(5, 70%, 45%) |
| HSV | hsv(5, 82%, 76%) |
| CMYK | cmyk(0%, 75.6%, 82.4%, 24.3%) |
| CIE-LAB | lab(43.49, 56.50, 42.91) |
| CIE-LCH | lch(43.49, 70.95, 37.22°) |
| OKLab | oklab(53.46% 0.1605 0.0912) |
| OKLCH | oklch(53.46% 0.185 29.6) |
| XYZ | xyz(23.3004, 13.4897, 2.8900) |
| Luminance | 0.1349 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Scarlet
#BE0119
ΔE00 4.35
Firebrick
#B22222
ΔE00 4.59
Rusty Red
#AF2F0D
ΔE00 5.53
Reddish
#C44240
ΔE00 6.30
Brick
#A03623
ΔE00 6.31
Dull Red
#BB3F3F
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12F22 #22B4C1
analogous
#C12264 #C12F22 #C17F22
triadic
#C12F22 #22C12F #2F22C1
tetradic
#C12F22 #64C122 #22B4C1 #7F22C1
square
#C12F22 #64C122 #22B4C1 #7F22C1
split-complementary
#C12F22 #22C17F #2264C1
monochromatic
#591610 #8D2219 #C12F22 #DE4F42 #E78076
Accessibility & contrast
On white
5.68
#C12F22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#C12F22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12F22
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12F22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12F22 | 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)
#5C521F
Deuteranopia (green-blind)
#80721A
Tritanopia (blue-blind)
#D5002E
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #c12f22; /* rgb */ color: rgb(193, 47, 34); /* oklch */ color: oklch(53.5% 0.185 29.6);
Tailwind
colors: {
custom: {
50: '#de735f',
500: '#c12f22',
950: '#000000',
},
}SCSS
$custom: #c12f22; $custom-light: #de735f; $custom-dark: #000000;
JSON
{
"hex": "#c12f22",
"rgb": {
"r": 193,
"g": 47,
"b": 34
},
"hsl": {
"h": 4.906,
"s": 70.044,
"l": 44.51
},
"oklch": {
"l": 0.53458,
"c": 0.18462,
"h": 29.6
},
"luminance": 0.13486
}Semantic roles & 50–950 ramp
primary
#C12F22
secondary
#71C7CE
accent
#DEED3B
background
#FFF7F5
surface
#FEEDE9
border
#D6C8C5
text
#170905
muted
#857B79