#C12C26#C12C26
#C12C26 is a mid, vivid red. Relative luminance 0.133; OKLCH L 53.2% C 0.186 H 27.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #C12C26 |
|---|---|
| RGB | rgb(193, 44, 38) |
| HSL | hsl(2, 67%, 45%) |
| HSV | hsv(2, 80%, 76%) |
| CMYK | cmyk(0%, 77.2%, 80.3%, 24.3%) |
| CIE-LAB | lab(43.19, 57.57, 40.50) |
| CIE-LCH | lch(43.19, 70.39, 35.12°) |
| OKLab | oklab(53.24% 0.1647 0.0873) |
| OKLCH | oklch(53.24% 0.186 27.9) |
| XYZ | xyz(23.2457, 13.2825, 3.1732) |
| Luminance | 0.1328 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Scarlet
#BE0119
ΔE00 3.67
Firebrick
#B22222
ΔE00 3.79
Dull Red
#BB3F3F
ΔE00 5.37
Reddish
#C44240
ΔE00 5.50
Brown
#A52A2A
ΔE00 6.31
Cherry (survey)
#CF0234
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12C26 #26BBC1
analogous
#C1266D #C12C26 #C17A26
triadic
#C12C26 #26C12C #2C26C1
tetradic
#C12C26 #6DC126 #26BBC1 #7A26C1
square
#C12C26 #6DC126 #26BBC1 #7A26C1
split-complementary
#C12C26 #26C17A #266DC1
monochromatic
#5B1512 #8E201C #C12C26 #DB4F49 #E5807C
Accessibility & contrast
On white
5.74
#C12C26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#C12C26 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12C26
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12C26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12C26 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5123
Deuteranopia (green-blind)
#7F721F
Tritanopia (blue-blind)
#D5002D
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #c12c26; /* rgb */ color: rgb(193, 44, 38); /* oklch */ color: oklch(53.2% 0.186 27.9);
Tailwind
colors: {
custom: {
50: '#dd7262',
500: '#c12c26',
950: '#000000',
},
}SCSS
$custom: #c12c26; $custom-light: #dd7262; $custom-dark: #000000;
JSON
{
"hex": "#c12c26",
"rgb": {
"r": 193,
"g": 44,
"b": 38
},
"hsl": {
"h": 2.323,
"s": 67.1,
"l": 45.294
},
"oklch": {
"l": 0.53242,
"c": 0.18637,
"h": 27.9
},
"luminance": 0.13279
}Semantic roles & 50–950 ramp
primary
#C12C26
secondary
#75CACD
accent
#E3EA3E
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170905
muted
#857B79