#9D221C#9D221C
#9D221C is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.7% C 0.160 H 28.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9D221C |
|---|---|
| RGB | rgb(157, 34, 28) |
| HSL | hsl(3, 70%, 36%) |
| HSV | hsv(3, 82%, 62%) |
| CMYK | cmyk(0%, 78.3%, 82.2%, 38.4%) |
| CIE-LAB | lab(34.80, 49.35, 35.29) |
| CIE-LCH | lch(34.80, 60.67, 35.57°) |
| OKLab | oklab(45.69% 0.1409 0.0758) |
| OKLCH | oklch(45.69% 0.16 28.3) |
| XYZ | xyz(14.6880, 8.3983, 1.9460) |
| Luminance | 0.0840 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 2.93
Brown
#A52A2A
ΔE00 3.41
Darkish Red
#A90308
ΔE00 3.83
Brownish Red
#9E3623
ΔE00 3.89
Brick
#A03623
ΔE00 3.99
Firebrick
#B22222
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D221C #1C979D
analogous
#9D1C57 #9D221C #9D631C
triadic
#9D221C #1C9D22 #221C9D
tetradic
#9D221C #579D1C #1C979D #631C9D
square
#9D221C #579D1C #1C979D #631C9D
split-complementary
#9D221C #1C9D63 #1C579D
monochromatic
#350C09 #691713 #9D221C #D12D25 #E05A53
Accessibility & contrast
On white
7.84
#9D221C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9D221C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D221C
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D221C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D221C | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#49411A
Deuteranopia (green-blind)
#675B16
Tritanopia (blue-blind)
#AD0022
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9d221c; /* rgb */ color: rgb(157, 34, 28); /* oklch */ color: oklch(45.7% 0.160 28.3);
Tailwind
colors: {
custom: {
50: '#c36859',
500: '#9d221c',
950: '#000000',
},
}SCSS
$custom: #9d221c; $custom-light: #c36859; $custom-dark: #000000;
JSON
{
"hex": "#9d221c",
"rgb": {
"r": 157,
"g": 34,
"b": 28
},
"hsl": {
"h": 2.791,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.45694,
"c": 0.16001,
"h": 28.3
},
"luminance": 0.08396
}Semantic roles & 50–950 ramp
primary
#9D221C
secondary
#51BEC3
accent
#E4ED3B
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78