#9C2127#9C2127
#9C2127 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.6% C 0.158 H 24.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2127 |
|---|---|
| RGB | rgb(156, 33, 39) |
| HSL | hsl(357, 65%, 37%) |
| HSV | hsv(357, 79%, 61%) |
| CMYK | cmyk(0%, 78.8%, 75%, 38.8%) |
| CIE-LAB | lab(34.61, 49.77, 28.56) |
| CIE-LCH | lch(34.61, 57.38, 29.85°) |
| OKLab | oklab(45.56% 0.1448 0.0644) |
| OKLCH | oklch(45.56% 0.158 24) |
| XYZ | xyz(14.6221, 8.3044, 2.7521) |
| Luminance | 0.0830 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.66
Carmine
#9D0216
ΔE00 3.63
Firebrick
#B22222
ΔE00 5.29
Crimson (survey)
#8C000F
ΔE00 5.78
Brownish Red
#9E3623
ΔE00 6.37
Brick
#A03623
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2127 #219C96
analogous
#9C2165 #9C2127 #9C5921
triadic
#9C2127 #279C21 #21279C
tetradic
#9C2127 #659C21 #219C96 #59219C
square
#9C2127 #659C21 #219C96 #59219C
split-complementary
#9C2127 #219C59 #21659C
monochromatic
#370C0E #69161A #9C2127 #CF2C34 #DC5B61
Accessibility & contrast
On white
7.89
#9C2127 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#9C2127 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C2127
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2127 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2127 | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474026
Deuteranopia (green-blind)
#655B22
Tritanopia (blue-blind)
#AC0025
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9c2127; /* rgb */ color: rgb(156, 33, 39); /* oklch */ color: oklch(45.6% 0.158 24.0);
Tailwind
colors: {
custom: {
50: '#c26861',
500: '#9c2127',
950: '#000000',
},
}SCSS
$custom: #9c2127; $custom-light: #c26861; $custom-dark: #000000;
JSON
{
"hex": "#9c2127",
"rgb": {
"r": 156,
"g": 33,
"b": 39
},
"hsl": {
"h": 357.073,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.45557,
"c": 0.15848,
"h": 24
},
"luminance": 0.08302
}Semantic roles & 50–950 ramp
primary
#9C2127
secondary
#58C1BC
accent
#E8E040
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79