#9B221B#9B221B
#9B221B is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.3% C 0.158 H 28.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9B221B |
|---|---|
| RGB | rgb(155, 34, 27) |
| HSL | hsl(3, 70%, 36%) |
| HSV | hsv(3, 83%, 61%) |
| CMYK | cmyk(0%, 78.1%, 82.6%, 39.2%) |
| CIE-LAB | lab(34.38, 48.69, 35.31) |
| CIE-LCH | lch(34.38, 60.15, 35.94°) |
| OKLab | oklab(45.31% 0.1389 0.0756) |
| OKLCH | oklch(45.31% 0.158 28.6) |
| XYZ | xyz(14.2892, 8.1940, 1.8659) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 2.95
Brown
#A52A2A
ΔE00 3.78
Darkish Red
#A90308
ΔE00 3.89
Brownish Red
#9E3623
ΔE00 3.94
Brick
#A03623
ΔE00 4.07
Blood Red
#980002
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B221B #1B949B
analogous
#9B1B54 #9B221B #9B621B
triadic
#9B221B #1B9B22 #221B9B
tetradic
#9B221B #549B1B #1B949B #621B9B
square
#9B221B #549B1B #1B949B #621B9B
split-complementary
#9B221B #1B9B62 #1B549B
monochromatic
#330B09 #671712 #9B221B #CF2D24 #E05850
Accessibility & contrast
On white
7.96
#9B221B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#9B221B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B221B
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B221B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B221B | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484019
Deuteranopia (green-blind)
#665A15
Tritanopia (blue-blind)
#AB0022
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9b221b; /* rgb */ color: rgb(155, 34, 27); /* oklch */ color: oklch(45.3% 0.158 28.6);
Tailwind
colors: {
custom: {
50: '#c26859',
500: '#9b221b',
950: '#000000',
},
}SCSS
$custom: #9b221b; $custom-light: #c26859; $custom-dark: #000000;
JSON
{
"hex": "#9b221b",
"rgb": {
"r": 155,
"g": 34,
"b": 27
},
"hsl": {
"h": 3.281,
"s": 70.33,
"l": 35.686
},
"oklch": {
"l": 0.45309,
"c": 0.15815,
"h": 28.6
},
"luminance": 0.08192
}Semantic roles & 50–950 ramp
primary
#9B221B
secondary
#4FBDC3
accent
#E3ED3B
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78