#C12B26#C12B26
#C12B26 is a mid, vivid red. Relative luminance 0.132; OKLCH L 53.2% C 0.187 H 27.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #C12B26 |
|---|---|
| RGB | rgb(193, 43, 38) |
| HSL | hsl(2, 67%, 45%) |
| HSV | hsv(2, 80%, 76%) |
| CMYK | cmyk(0%, 77.7%, 80.3%, 24.3%) |
| CIE-LAB | lab(43.08, 57.88, 40.39) |
| CIE-LCH | lch(43.08, 70.58, 34.91°) |
| OKLab | oklab(53.16% 0.1656 0.0871) |
| OKLCH | oklch(53.16% 0.187 27.7) |
| XYZ | xyz(23.2089, 13.2089, 3.1609) |
| Luminance | 0.1321 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Scarlet
#BE0119
ΔE00 3.54
Firebrick
#B22222
ΔE00 3.68
Dull Red
#BB3F3F
ΔE00 5.34
Reddish
#C44240
ΔE00 5.51
Brown
#A52A2A
ΔE00 6.20
Cherry (survey)
#CF0234
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12B26 #26BCC1
analogous
#C1266F #C12B26 #C17826
triadic
#C12B26 #26C12B #2B26C1
tetradic
#C12B26 #6FC126 #26BCC1 #7826C1
square
#C12B26 #6FC126 #26BCC1 #7826C1
split-complementary
#C12B26 #26C178 #266FC1
monochromatic
#5B1412 #8E201C #C12B26 #DB4E49 #E5807C
Accessibility & contrast
On white
5.77
#C12B26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#C12B26 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12B26
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12B26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12B26 | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5123
Deuteranopia (green-blind)
#7F711F
Tritanopia (blue-blind)
#D5002C
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #c12b26; /* rgb */ color: rgb(193, 43, 38); /* oklch */ color: oklch(53.2% 0.187 27.7);
Tailwind
colors: {
custom: {
50: '#dd7262',
500: '#c12b26',
950: '#000000',
},
}SCSS
$custom: #c12b26; $custom-light: #dd7262; $custom-dark: #000000;
JSON
{
"hex": "#c12b26",
"rgb": {
"r": 193,
"g": 43,
"b": 38
},
"hsl": {
"h": 1.935,
"s": 67.1,
"l": 45.294
},
"oklch": {
"l": 0.5316,
"c": 0.18711,
"h": 27.7
},
"luminance": 0.13205
}Semantic roles & 50–950 ramp
primary
#C12B26
secondary
#75CBCD
accent
#E4EA3E
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170905
muted
#857B79