#C12E26#C12E26
#C12E26 is a mid, vivid red. Relative luminance 0.134; OKLCH L 53.4% C 0.185 H 28.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #C12E26 |
|---|---|
| RGB | rgb(193, 46, 38) |
| HSL | hsl(3, 67%, 45%) |
| HSV | hsv(3, 80%, 76%) |
| CMYK | cmyk(0%, 76.2%, 80.3%, 24.3%) |
| CIE-LAB | lab(43.41, 56.94, 40.72) |
| CIE-LCH | lch(43.41, 70.00, 35.57°) |
| OKLab | oklab(53.41% 0.1627 0.0878) |
| OKLCH | oklch(53.41% 0.185 28.4) |
| XYZ | xyz(23.3220, 13.4351, 3.1986) |
| Luminance | 0.1343 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Scarlet
#BE0119
ΔE00 3.95
Firebrick
#B22222
ΔE00 4.05
Dull Red
#BB3F3F
ΔE00 5.46
Reddish
#C44240
ΔE00 5.49
Rusty Red
#AF2F0D
ΔE00 6.42
Brick
#A03623
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12E26 #26B9C1
analogous
#C1266B #C12E26 #C17C26
triadic
#C12E26 #26C12E #2E26C1
tetradic
#C12E26 #6BC126 #26B9C1 #7C26C1
square
#C12E26 #6BC126 #26B9C1 #7C26C1
split-complementary
#C12E26 #26C17C #266BC1
monochromatic
#5B1612 #8E221C #C12E26 #DB5149 #E5827C
Accessibility & contrast
On white
5.70
#C12E26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#C12E26 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12E26
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12E26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12E26 | 1.00 | 5.70 | 3.69 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5223
Deuteranopia (green-blind)
#80721F
Tritanopia (blue-blind)
#D5002E
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #c12e26; /* rgb */ color: rgb(193, 46, 38); /* oklch */ color: oklch(53.4% 0.185 28.4);
Tailwind
colors: {
custom: {
50: '#dd7362',
500: '#c12e26',
950: '#000000',
},
}SCSS
$custom: #c12e26; $custom-light: #dd7362; $custom-dark: #000000;
JSON
{
"hex": "#c12e26",
"rgb": {
"r": 193,
"g": 46,
"b": 38
},
"hsl": {
"h": 3.097,
"s": 67.1,
"l": 45.294
},
"oklch": {
"l": 0.5341,
"c": 0.18486,
"h": 28.4
},
"luminance": 0.13431
}Semantic roles & 50–950 ramp
primary
#C12E26
secondary
#75C9CD
accent
#E1EA3E
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170905
muted
#857B79