#9C2227#9C2227
#9C2227 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.6% C 0.158 H 24.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2227 |
|---|---|
| RGB | rgb(156, 34, 39) |
| HSL | hsl(358, 64%, 37%) |
| HSV | hsv(358, 78%, 61%) |
| CMYK | cmyk(0%, 78.2%, 75%, 38.8%) |
| CIE-LAB | lab(34.72, 49.45, 28.69) |
| CIE-LCH | lch(34.72, 57.17, 30.12°) |
| OKLab | oklab(45.64% 0.1438 0.0647) |
| OKLCH | oklch(45.64% 0.158 24.2) |
| XYZ | xyz(14.6502, 8.3608, 2.7615) |
| Luminance | 0.0836 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.52
Carmine
#9D0216
ΔE00 3.62
Firebrick
#B22222
ΔE00 5.17
Crimson (survey)
#8C000F
ΔE00 5.79
Brownish Red
#9E3623
ΔE00 6.17
Brick
#A03623
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2227 #229C97
analogous
#9C2264 #9C2227 #9C5A22
triadic
#9C2227 #279C22 #22279C
tetradic
#9C2227 #649C22 #229C97 #5A229C
square
#9C2227 #649C22 #229C97 #5A229C
split-complementary
#9C2227 #229C5A #22649C
monochromatic
#380C0E #6A171A #9C2227 #CE2D34 #DC5D62
Accessibility & contrast
On white
7.86
#9C2227 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#9C2227 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C2227
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2227 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474126
Deuteranopia (green-blind)
#655B23
Tritanopia (blue-blind)
#AC0025
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9c2227; /* rgb */ color: rgb(156, 34, 39); /* oklch */ color: oklch(45.6% 0.158 24.2);
Tailwind
colors: {
custom: {
50: '#c16861',
500: '#9c2227',
950: '#000000',
},
}SCSS
$custom: #9c2227; $custom-light: #c16861; $custom-dark: #000000;
JSON
{
"hex": "#9c2227",
"rgb": {
"r": 156,
"g": 34,
"b": 39
},
"hsl": {
"h": 357.541,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.45642,
"c": 0.15767,
"h": 24.2
},
"luminance": 0.08358
}Semantic roles & 50–950 ramp
primary
#9C2227
secondary
#5AC0BC
accent
#E7E041
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79