#C12E27#C12E27
#C12E27 is a mid, vivid red. Relative luminance 0.134; OKLCH L 53.4% C 0.185 H 28.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #C12E27 |
|---|---|
| RGB | rgb(193, 46, 39) |
| HSL | hsl(3, 66%, 45%) |
| HSV | hsv(3, 80%, 76%) |
| CMYK | cmyk(0%, 76.2%, 79.8%, 24.3%) |
| CIE-LAB | lab(43.42, 56.97, 40.19) |
| CIE-LCH | lch(43.42, 69.72, 35.20°) |
| OKLab | oklab(53.42% 0.163 0.087) |
| OKLCH | oklch(53.42% 0.185 28.1) |
| XYZ | xyz(23.3383, 13.4416, 3.2847) |
| Luminance | 0.1344 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Scarlet
#BE0119
ΔE00 3.94
Firebrick
#B22222
ΔE00 3.98
Dull Red
#BB3F3F
ΔE00 5.24
Reddish
#C44240
ΔE00 5.31
Brown
#A52A2A
ΔE00 6.42
Brick
#A03623
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12E27 #27BAC1
analogous
#C1276D #C12E27 #C17B27
triadic
#C12E27 #27C12E #2E27C1
tetradic
#C12E27 #6DC127 #27BAC1 #7B27C1
square
#C12E27 #6DC127 #27BAC1 #7B27C1
split-complementary
#C12E27 #27C17B #276DC1
monochromatic
#5B1612 #8E221D #C12E27 #DB514B #E5827E
Accessibility & contrast
On white
5.69
#C12E27 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#C12E27 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12E27
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12E27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12E27 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5224
Deuteranopia (green-blind)
#807220
Tritanopia (blue-blind)
#D5002E
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #c12e27; /* rgb */ color: rgb(193, 46, 39); /* oklch */ color: oklch(53.4% 0.185 28.1);
Tailwind
colors: {
custom: {
50: '#dd7362',
500: '#c12e27',
950: '#000000',
},
}SCSS
$custom: #c12e27; $custom-light: #dd7362; $custom-dark: #000000;
JSON
{
"hex": "#c12e27",
"rgb": {
"r": 193,
"g": 46,
"b": 39
},
"hsl": {
"h": 2.727,
"s": 66.379,
"l": 45.49
},
"oklch": {
"l": 0.5342,
"c": 0.18472,
"h": 28.1
},
"luminance": 0.13438
}Semantic roles & 50–950 ramp
primary
#C12E27
secondary
#77C9CD
accent
#E2E93E
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170905
muted
#857B79