#C12F2F#C12F2F
#C12F2F is a mid, vivid red. Relative luminance 0.136; OKLCH L 53.6% C 0.183 H 25.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #C12F2F |
|---|---|
| RGB | rgb(193, 47, 47) |
| HSL | hsl(0, 61%, 47%) |
| HSV | hsv(0, 76%, 76%) |
| CMYK | cmyk(0%, 75.6%, 75.6%, 24.3%) |
| CIE-LAB | lab(43.62, 56.93, 35.92) |
| CIE-LCH | lch(43.62, 67.32, 32.25°) |
| OKLab | oklab(53.6% 0.1645 0.08) |
| OKLCH | oklch(53.6% 0.183 25.9) |
| XYZ | xyz(23.5247, 13.5794, 4.0712) |
| Luminance | 0.1358 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 3.54
Reddish
#C44240
ΔE00 3.96
Firebrick
#B22222
ΔE00 4.19
Scarlet
#BE0119
ΔE00 4.57
Cherry (survey)
#CF0234
ΔE00 4.77
Lipstick Red
#C0022F
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12F2F #2FC1C1
analogous
#C12F78 #C12F2F #C1782F
triadic
#C12F2F #2FC12F #2F2FC1
tetradic
#C12F2F #78C12F #2FC1C1 #782FC1
square
#C12F2F #78C12F #2FC1C1 #782FC1
split-complementary
#C12F2F #2FC178 #2F78C1
monochromatic
#5F1717 #902323 #C12F2F #D65757 #E28888
Accessibility & contrast
On white
5.65
#C12F2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#C12F2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12F2F
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12F2F | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B532D
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#D50031
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #c12f2f; /* rgb */ color: rgb(193, 47, 47); /* oklch */ color: oklch(53.6% 0.183 25.9);
Tailwind
colors: {
custom: {
50: '#dd7468',
500: '#c12f2f',
950: '#000000',
},
}SCSS
$custom: #c12f2f; $custom-light: #dd7468; $custom-dark: #000000;
JSON
{
"hex": "#c12f2f",
"rgb": {
"r": 193,
"g": 47,
"b": 47
},
"hsl": {
"h": 0,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.53598,
"c": 0.18292,
"h": 25.9
},
"luminance": 0.13576
}Semantic roles & 50–950 ramp
primary
#C12F2F
secondary
#80CCCC
accent
#E4E444
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#170906
muted
#857B7A