#C12927#C12927
#C12927 is a mid, vivid red. Relative luminance 0.131; OKLCH L 53.0% C 0.188 H 27.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #C12927 |
|---|---|
| RGB | rgb(193, 41, 39) |
| HSL | hsl(1, 66%, 45%) |
| HSV | hsv(1, 80%, 76%) |
| CMYK | cmyk(0%, 78.8%, 79.8%, 24.3%) |
| CIE-LAB | lab(42.87, 58.51, 39.64) |
| CIE-LCH | lch(42.87, 70.67, 34.12°) |
| OKLab | oklab(53.01% 0.1678 0.0858) |
| OKLCH | oklch(53.01% 0.188 27.1) |
| XYZ | xyz(23.1543, 13.0735, 3.2234) |
| Luminance | 0.1307 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Scarlet
#BE0119
ΔE00 3.34
Firebrick
#B22222
ΔE00 3.44
Dull Red
#BB3F3F
ΔE00 5.09
Reddish
#C44240
ΔE00 5.39
Cherry (survey)
#CF0234
ΔE00 5.77
Lipstick Red
#C0022F
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12927 #27BFC1
analogous
#C12772 #C12927 #C17627
triadic
#C12927 #27C129 #2927C1
tetradic
#C12927 #72C127 #27BFC1 #7627C1
square
#C12927 #72C127 #27BFC1 #7627C1
split-complementary
#C12927 #27C176 #2772C1
monochromatic
#5B1312 #8E1E1D #C12927 #DB4D4B #E57F7E
Accessibility & contrast
On white
5.81
#C12927 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#C12927 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12927
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12927 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12927 | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595025
Deuteranopia (green-blind)
#7E7120
Tritanopia (blue-blind)
#D5002B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #c12927; /* rgb */ color: rgb(193, 41, 39); /* oklch */ color: oklch(53.0% 0.188 27.1);
Tailwind
colors: {
custom: {
50: '#dd7162',
500: '#c12927',
950: '#000000',
},
}SCSS
$custom: #c12927; $custom-light: #dd7162; $custom-dark: #000000;
JSON
{
"hex": "#c12927",
"rgb": {
"r": 193,
"g": 41,
"b": 39
},
"hsl": {
"h": 0.779,
"s": 66.379,
"l": 45.49
},
"oklch": {
"l": 0.53013,
"c": 0.18844,
"h": 27.1
},
"luminance": 0.1307
}Semantic roles & 50–950 ramp
primary
#C12927
secondary
#77CCCD
accent
#E7E93E
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170905
muted
#857B79