#C12F26#C12F26
#C12F26 is a mid, vivid red. Relative luminance 0.135; OKLCH L 53.5% C 0.184 H 28.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #C12F26 |
|---|---|
| RGB | rgb(193, 47, 38) |
| HSL | hsl(3, 67%, 45%) |
| HSV | hsv(3, 80%, 76%) |
| CMYK | cmyk(0%, 75.6%, 80.3%, 24.3%) |
| CIE-LAB | lab(43.53, 56.62, 40.84) |
| CIE-LCH | lch(43.53, 69.81, 35.80°) |
| OKLab | oklab(53.5% 0.1617 0.0881) |
| OKLCH | oklch(53.5% 0.184 28.6) |
| XYZ | xyz(23.3615, 13.5141, 3.2118) |
| Luminance | 0.1351 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Scarlet
#BE0119
ΔE00 4.11
Firebrick
#B22222
ΔE00 4.19
Reddish
#C44240
ΔE00 5.50
Dull Red
#BB3F3F
ΔE00 5.51
Rusty Red
#AF2F0D
ΔE00 6.33
Brick
#A03623
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12F26 #26B8C1
analogous
#C1266A #C12F26 #C17D26
triadic
#C12F26 #26C12F #2F26C1
tetradic
#C12F26 #6AC126 #26B8C1 #7D26C1
square
#C12F26 #6AC126 #26B8C1 #7D26C1
split-complementary
#C12F26 #26C17D #266AC1
monochromatic
#5B1612 #8E231C #C12F26 #DB5249 #E5827C
Accessibility & contrast
On white
5.67
#C12F26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#C12F26 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12F26
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12F26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12F26 | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5223
Deuteranopia (green-blind)
#80721F
Tritanopia (blue-blind)
#D5002F
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #c12f26; /* rgb */ color: rgb(193, 47, 38); /* oklch */ color: oklch(53.5% 0.184 28.6);
Tailwind
colors: {
custom: {
50: '#dd7362',
500: '#c12f26',
950: '#000000',
},
}SCSS
$custom: #c12f26; $custom-light: #dd7362; $custom-dark: #000000;
JSON
{
"hex": "#c12f26",
"rgb": {
"r": 193,
"g": 47,
"b": 38
},
"hsl": {
"h": 3.484,
"s": 67.1,
"l": 45.294
},
"oklch": {
"l": 0.53496,
"c": 0.18408,
"h": 28.6
},
"luminance": 0.1351
}Semantic roles & 50–950 ramp
primary
#C12F26
secondary
#75C8CD
accent
#E0EA3E
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170905
muted
#857B79