#9B2222#9B2222
#9B2222 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.4% C 0.157 H 26.1°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2222 |
|---|---|
| RGB | rgb(155, 34, 34) |
| HSL | hsl(0, 64%, 37%) |
| HSV | hsv(0, 78%, 61%) |
| CMYK | cmyk(0%, 78.1%, 78.1%, 39.2%) |
| CIE-LAB | lab(34.46, 48.93, 31.36) |
| CIE-LCH | lch(34.46, 58.12, 32.65°) |
| OKLab | oklab(45.39% 0.1411 0.0693) |
| OKLCH | oklch(45.39% 0.157 26.1) |
| XYZ | xyz(14.3800, 8.2304, 2.3445) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.64
Carmine
#9D0216
ΔE00 2.79
Firebrick
#B22222
ΔE00 4.69
Crimson (survey)
#8C000F
ΔE00 5.01
Brownish Red
#9E3623
ΔE00 5.08
Brick
#A03623
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2222 #229B9B
analogous
#9B225F #9B2222 #9B5F22
triadic
#9B2222 #229B22 #22229B
tetradic
#9B2222 #5F9B22 #229B9B #5F229B
square
#9B2222 #5F9B22 #229B9B #5F229B
split-complementary
#9B2222 #229B5F #225F9B
monochromatic
#370C0C #691717 #9B2222 #CD2D2D #DB5C5C
Accessibility & contrast
On white
7.94
#9B2222 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#9B2222 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B2222
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2222 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2222 | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474020
Deuteranopia (green-blind)
#655A1D
Tritanopia (blue-blind)
#AB0024
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9b2222; /* rgb */ color: rgb(155, 34, 34); /* oklch */ color: oklch(45.4% 0.157 26.1);
Tailwind
colors: {
custom: {
50: '#c1685d',
500: '#9b2222',
950: '#000000',
},
}SCSS
$custom: #9b2222; $custom-light: #c1685d; $custom-dark: #000000;
JSON
{
"hex": "#9b2222",
"rgb": {
"r": 155,
"g": 34,
"b": 34
},
"hsl": {
"h": 0,
"s": 64.021,
"l": 37.059
},
"oklch": {
"l": 0.45388,
"c": 0.15723,
"h": 26.1
},
"luminance": 0.08228
}Semantic roles & 50–950 ramp
primary
#9B2222
secondary
#59C0C0
accent
#E7E741
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79