#9B2226#9B2226
#9B2226 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.4% C 0.157 H 24.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2226 |
|---|---|
| RGB | rgb(155, 34, 38) |
| HSL | hsl(358, 64%, 37%) |
| HSV | hsv(358, 78%, 61%) |
| CMYK | cmyk(0%, 78.1%, 75.5%, 39.2%) |
| CIE-LAB | lab(34.51, 49.10, 29.00) |
| CIE-LCH | lch(34.51, 57.02, 30.57°) |
| OKLab | oklab(45.44% 0.1426 0.0652) |
| OKLCH | oklch(45.44% 0.157 24.6) |
| XYZ | xyz(14.4411, 8.2548, 2.6663) |
| Luminance | 0.0825 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.61
Carmine
#9D0216
ΔE00 3.43
Firebrick
#B22222
ΔE00 5.20
Crimson (survey)
#8C000F
ΔE00 5.53
Brownish Red
#9E3623
ΔE00 6.01
Brick
#A03623
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2226 #229B97
analogous
#9B2262 #9B2226 #9B5B22
triadic
#9B2226 #269B22 #22269B
tetradic
#9B2226 #629B22 #229B97 #5B229B
square
#9B2226 #629B22 #229B97 #5B229B
split-complementary
#9B2226 #229B5B #22629B
monochromatic
#370C0D #69171A #9B2226 #CD2D32 #DB5C60
Accessibility & contrast
On white
7.92
#9B2226 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#9B2226 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B2226
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2226 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2226 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474025
Deuteranopia (green-blind)
#655B21
Tritanopia (blue-blind)
#AB0025
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9b2226; /* rgb */ color: rgb(155, 34, 38); /* oklch */ color: oklch(45.4% 0.157 24.6);
Tailwind
colors: {
custom: {
50: '#c16860',
500: '#9b2226',
950: '#000000',
},
}SCSS
$custom: #9b2226; $custom-light: #c16860; $custom-dark: #000000;
JSON
{
"hex": "#9b2226",
"rgb": {
"r": 155,
"g": 34,
"b": 38
},
"hsl": {
"h": 358.017,
"s": 64.021,
"l": 37.059
},
"oklch": {
"l": 0.45441,
"c": 0.15677,
"h": 24.6
},
"luminance": 0.08253
}Semantic roles & 50–950 ramp
primary
#9B2226
secondary
#59C0BC
accent
#E7E241
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140705
muted
#827A79