#9A221B#9A221B
#9A221B is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.1% C 0.157 H 28.6°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #9A221B |
|---|---|
| RGB | rgb(154, 34, 27) |
| HSL | hsl(3, 70%, 35%) |
| HSV | hsv(3, 82%, 60%) |
| CMYK | cmyk(0%, 77.9%, 82.5%, 39.6%) |
| CIE-LAB | lab(34.18, 48.38, 35.04) |
| CIE-LCH | lch(34.18, 59.73, 35.92°) |
| OKLab | oklab(45.12% 0.138 0.0751) |
| OKLCH | oklch(45.12% 0.157 28.6) |
| XYZ | xyz(14.0980, 8.0955, 1.8570) |
| Luminance | 0.0809 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 2.91
Brown
#A52A2A
ΔE00 3.87
Darkish Red
#A90308
ΔE00 4.02
Brownish Red
#9E3623
ΔE00 4.03
Blood Red
#980002
ΔE00 4.14
Brick
#A03623
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A221B #1B939A
analogous
#9A1B53 #9A221B #9A611B
triadic
#9A221B #1B9A22 #221B9A
tetradic
#9A221B #539A1B #1B939A #611B9A
square
#9A221B #539A1B #1B939A #611B9A
split-complementary
#9A221B #1B9A61 #1B539A
monochromatic
#320B09 #661712 #9A221B #CE2D24 #E0574F
Accessibility & contrast
On white
8.02
#9A221B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#9A221B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A221B
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A221B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A221B | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474019
Deuteranopia (green-blind)
#655A15
Tritanopia (blue-blind)
#AA0022
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #9a221b; /* rgb */ color: rgb(154, 34, 27); /* oklch */ color: oklch(45.1% 0.157 28.6);
Tailwind
colors: {
custom: {
50: '#c16858',
500: '#9a221b',
950: '#000000',
},
}SCSS
$custom: #9a221b; $custom-light: #c16858; $custom-dark: #000000;
JSON
{
"hex": "#9a221b",
"rgb": {
"r": 154,
"g": 34,
"b": 27
},
"hsl": {
"h": 3.307,
"s": 70.166,
"l": 35.49
},
"oklch": {
"l": 0.45122,
"c": 0.15714,
"h": 28.6
},
"luminance": 0.08093
}Semantic roles & 50–950 ramp
primary
#9A221B
secondary
#4EBCC3
accent
#E3ED3B
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78