#C12A27#C12A27
#C12A27 is a mid, vivid red. Relative luminance 0.131; OKLCH L 53.1% C 0.188 H 27.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #C12A27 |
|---|---|
| RGB | rgb(193, 42, 39) |
| HSL | hsl(1, 66%, 45%) |
| HSV | hsv(1, 80%, 76%) |
| CMYK | cmyk(0%, 78.2%, 79.8%, 24.3%) |
| CIE-LAB | lab(42.98, 58.21, 39.74) |
| CIE-LCH | lch(42.98, 70.48, 34.32°) |
| OKLab | oklab(53.09% 0.1669 0.086) |
| OKLCH | oklch(53.09% 0.188 27.3) |
| XYZ | xyz(23.1893, 13.1436, 3.2350) |
| Luminance | 0.1314 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Scarlet
#BE0119
ΔE00 3.44
Firebrick
#B22222
ΔE00 3.54
Dull Red
#BB3F3F
ΔE00 5.10
Reddish
#C44240
ΔE00 5.36
Cherry (survey)
#CF0234
ΔE00 5.90
Lipstick Red
#C0022F
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12A27 #27BEC1
analogous
#C12771 #C12A27 #C17727
triadic
#C12A27 #27C12A #2A27C1
tetradic
#C12A27 #71C127 #27BEC1 #7727C1
square
#C12A27 #71C127 #27BEC1 #7727C1
split-complementary
#C12A27 #27C177 #2771C1
monochromatic
#5B1412 #8E1F1D #C12A27 #DB4D4B #E5807E
Accessibility & contrast
On white
5.79
#C12A27 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#C12A27 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12A27
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12A27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12A27 | 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)
#5A5125
Deuteranopia (green-blind)
#7F7120
Tritanopia (blue-blind)
#D5002C
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #c12a27; /* rgb */ color: rgb(193, 42, 39); /* oklch */ color: oklch(53.1% 0.188 27.3);
Tailwind
colors: {
custom: {
50: '#dd7162',
500: '#c12a27',
950: '#000000',
},
}SCSS
$custom: #c12a27; $custom-light: #dd7162; $custom-dark: #000000;
JSON
{
"hex": "#c12a27",
"rgb": {
"r": 193,
"g": 42,
"b": 39
},
"hsl": {
"h": 1.169,
"s": 66.379,
"l": 45.49
},
"oklch": {
"l": 0.53091,
"c": 0.18772,
"h": 27.3
},
"luminance": 0.1314
}Semantic roles & 50–950 ramp
primary
#C12A27
secondary
#77CBCD
accent
#E6E93E
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170905
muted
#857B79