#C12A26#C12A26
#C12A26 is a mid, vivid red. Relative luminance 0.131; OKLCH L 53.1% C 0.188 H 27.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #C12A26 |
|---|---|
| RGB | rgb(193, 42, 38) |
| HSL | hsl(2, 67%, 45%) |
| HSV | hsv(2, 80%, 76%) |
| CMYK | cmyk(0%, 78.2%, 80.3%, 24.3%) |
| CIE-LAB | lab(42.97, 58.18, 40.28) |
| CIE-LCH | lch(42.97, 70.76, 34.70°) |
| OKLab | oklab(53.08% 0.1666 0.0868) |
| OKLCH | oklch(53.08% 0.188 27.5) |
| XYZ | xyz(23.1730, 13.1371, 3.1489) |
| Luminance | 0.1313 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Scarlet
#BE0119
ΔE00 3.41
Firebrick
#B22222
ΔE00 3.57
Dull Red
#BB3F3F
ΔE00 5.31
Reddish
#C44240
ΔE00 5.53
Brown
#A52A2A
ΔE00 6.10
Cherry (survey)
#CF0234
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12A26 #26BDC1
analogous
#C12670 #C12A26 #C17726
triadic
#C12A26 #26C12A #2A26C1
tetradic
#C12A26 #70C126 #26BDC1 #7726C1
square
#C12A26 #70C126 #26BDC1 #7726C1
split-complementary
#C12A26 #26C177 #2670C1
monochromatic
#5B1412 #8E1F1C #C12A26 #DB4D49 #E57F7C
Accessibility & contrast
On white
5.79
#C12A26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#C12A26 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12A26
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12A26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12A26 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5023
Deuteranopia (green-blind)
#7F711F
Tritanopia (blue-blind)
#D5002B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #c12a26; /* rgb */ color: rgb(193, 42, 38); /* oklch */ color: oklch(53.1% 0.188 27.5);
Tailwind
colors: {
custom: {
50: '#dd7161',
500: '#c12a26',
950: '#000000',
},
}SCSS
$custom: #c12a26; $custom-light: #dd7161; $custom-dark: #000000;
JSON
{
"hex": "#c12a26",
"rgb": {
"r": 193,
"g": 42,
"b": 38
},
"hsl": {
"h": 1.548,
"s": 67.1,
"l": 45.294
},
"oklch": {
"l": 0.5308,
"c": 0.18784,
"h": 27.5
},
"luminance": 0.13133
}Semantic roles & 50–950 ramp
primary
#C12A26
secondary
#75CBCD
accent
#E6EA3E
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170905
muted
#857B79