#C12726#C12726
#C12726 is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.9% C 0.190 H 27.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #C12726 |
|---|---|
| RGB | rgb(193, 39, 38) |
| HSL | hsl(0, 67%, 45%) |
| HSV | hsv(0, 80%, 76%) |
| CMYK | cmyk(0%, 79.8%, 80.3%, 24.3%) |
| CIE-LAB | lab(42.66, 59.05, 39.97) |
| CIE-LCH | lch(42.66, 71.30, 34.10°) |
| OKLab | oklab(52.85% 0.1693 0.0862) |
| OKLCH | oklch(52.85% 0.19 27) |
| XYZ | xyz(23.0705, 12.9322, 3.1148) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Scarlet
#BE0119
ΔE00 3.09
Firebrick
#B22222
ΔE00 3.30
Dull Red
#BB3F3F
ΔE00 5.26
Reddish
#C44240
ΔE00 5.61
Lipstick Red
#C0022F
ΔE00 5.71
Cherry (survey)
#CF0234
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12726 #26C0C1
analogous
#C12672 #C12726 #C17426
triadic
#C12726 #26C127 #2726C1
tetradic
#C12726 #72C126 #26C0C1 #7426C1
square
#C12726 #72C126 #26C0C1 #7426C1
split-complementary
#C12726 #26C174 #2672C1
monochromatic
#5B1212 #8E1D1C #C12726 #DB4A49 #E57D7C
Accessibility & contrast
On white
5.86
#C12726 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#C12726 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12726
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12726 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12726 | 1.00 | 5.86 | 3.59 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#584F24
Deuteranopia (green-blind)
#7E711F
Tritanopia (blue-blind)
#D50029
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #c12726; /* rgb */ color: rgb(193, 39, 38); /* oklch */ color: oklch(52.9% 0.190 27.0);
Tailwind
colors: {
custom: {
50: '#de7061',
500: '#c12726',
950: '#000000',
},
}SCSS
$custom: #c12726; $custom-light: #de7061; $custom-dark: #000000;
JSON
{
"hex": "#c12726",
"rgb": {
"r": 193,
"g": 39,
"b": 38
},
"hsl": {
"h": 0.387,
"s": 67.1,
"l": 45.294
},
"oklch": {
"l": 0.52851,
"c": 0.18996,
"h": 27
},
"luminance": 0.12928
}Semantic roles & 50–950 ramp
primary
#C12726
secondary
#75CDCD
accent
#E9EA3E
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170805
muted
#857B79