#9B2227#9B2227
#9B2227 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.5% C 0.157 H 24.2°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2227 |
|---|---|
| RGB | rgb(155, 34, 39) |
| HSL | hsl(358, 64%, 37%) |
| HSV | hsv(358, 78%, 61%) |
| CMYK | cmyk(0%, 78.1%, 74.8%, 39.2%) |
| CIE-LAB | lab(34.52, 49.14, 28.41) |
| CIE-LCH | lch(34.52, 56.76, 30.03°) |
| OKLab | oklab(45.46% 0.1429 0.0642) |
| OKLCH | oklch(45.46% 0.157 24.2) |
| XYZ | xyz(14.4575, 8.2614, 2.7524) |
| Luminance | 0.0826 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.70
Carmine
#9D0216
ΔE00 3.65
Firebrick
#B22222
ΔE00 5.37
Crimson (survey)
#8C000F
ΔE00 5.70
Brownish Red
#9E3623
ΔE00 6.27
Brick
#A03623
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2227 #229B96
analogous
#9B2263 #9B2227 #9B5A22
triadic
#9B2227 #279B22 #22279B
tetradic
#9B2227 #639B22 #229B96 #5A229B
square
#9B2227 #639B22 #229B96 #5A229B
split-complementary
#9B2227 #229B5A #22639B
monochromatic
#370C0E #69171A #9B2227 #CD2D34 #DB5C61
Accessibility & contrast
On white
7.92
#9B2227 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#9B2227 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B2227
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2227 | 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)
#474126
Deuteranopia (green-blind)
#655B23
Tritanopia (blue-blind)
#AB0025
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9b2227; /* rgb */ color: rgb(155, 34, 39); /* oklch */ color: oklch(45.5% 0.157 24.2);
Tailwind
colors: {
custom: {
50: '#c16861',
500: '#9b2227',
950: '#000000',
},
}SCSS
$custom: #9b2227; $custom-light: #c16861; $custom-dark: #000000;
JSON
{
"hex": "#9b2227",
"rgb": {
"r": 155,
"g": 34,
"b": 39
},
"hsl": {
"h": 357.521,
"s": 64.021,
"l": 37.059
},
"oklch": {
"l": 0.45456,
"c": 0.15665,
"h": 24.2
},
"luminance": 0.08259
}Semantic roles & 50–950 ramp
primary
#9B2227
secondary
#59C0BC
accent
#E7E041
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140705
muted
#827A79