#C12D2C#C12D2C
#C12D2C is a mid, vivid red. Relative luminance 0.134; OKLCH L 53.4% C 0.185 H 26.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #C12D2C |
|---|---|
| RGB | rgb(193, 45, 44) |
| HSL | hsl(0, 63%, 46%) |
| HSV | hsv(0, 77%, 76%) |
| CMYK | cmyk(0%, 76.7%, 77.2%, 24.3%) |
| CIE-LAB | lab(43.36, 57.46, 37.35) |
| CIE-LCH | lch(43.36, 68.53, 33.02°) |
| OKLab | oklab(53.39% 0.1655 0.0823) |
| OKLCH | oklch(53.39% 0.185 26.4) |
| XYZ | xyz(23.3881, 13.3998, 3.7373) |
| Luminance | 0.1340 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.86
Scarlet
#BE0119
ΔE00 4.08
Dull Red
#BB3F3F
ΔE00 4.13
Reddish
#C44240
ΔE00 4.48
Cherry (survey)
#CF0234
ΔE00 5.14
Lipstick Red
#C0022F
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12D2C #2CC0C1
analogous
#C12C76 #C12D2C #C1782C
triadic
#C12D2C #2CC12D #2D2CC1
tetradic
#C12D2C #76C12C #2CC0C1 #782CC1
square
#C12D2C #76C12C #2CC0C1 #782CC1
split-complementary
#C12D2C #2CC178 #2C76C1
monochromatic
#5D1615 #8F2121 #C12D2C #D85353 #E38584
Accessibility & contrast
On white
5.71
#C12D2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#C12D2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12D2C
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12D2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12D2C | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B522A
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#D5002F
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #c12d2c; /* rgb */ color: rgb(193, 45, 44); /* oklch */ color: oklch(53.4% 0.185 26.4);
Tailwind
colors: {
custom: {
50: '#dd7366',
500: '#c12d2c',
950: '#000000',
},
}SCSS
$custom: #c12d2c; $custom-light: #dd7366; $custom-dark: #000000;
JSON
{
"hex": "#c12d2c",
"rgb": {
"r": 193,
"g": 45,
"b": 44
},
"hsl": {
"h": 0.403,
"s": 62.869,
"l": 46.471
},
"oklch": {
"l": 0.5339,
"c": 0.18487,
"h": 26.4
},
"luminance": 0.13396
}Semantic roles & 50–950 ramp
primary
#C12D2C
secondary
#7DCCCC
accent
#E5E642
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#170906
muted
#857B7A