#9B2127#9B2127
#9B2127 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.4% C 0.157 H 23.9°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2127 |
|---|---|
| RGB | rgb(155, 33, 39) |
| HSL | hsl(357, 65%, 37%) |
| HSV | hsv(357, 79%, 61%) |
| CMYK | cmyk(0%, 78.7%, 74.8%, 39.2%) |
| CIE-LAB | lab(34.41, 49.46, 28.28) |
| CIE-LCH | lch(34.41, 56.97, 29.76°) |
| OKLab | oklab(45.37% 0.1439 0.0639) |
| OKLCH | oklch(45.37% 0.157 23.9) |
| XYZ | xyz(14.4293, 8.2050, 2.7430) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.84
Carmine
#9D0216
ΔE00 3.66
Firebrick
#B22222
ΔE00 5.49
Crimson (survey)
#8C000F
ΔE00 5.69
Brownish Red
#9E3623
ΔE00 6.47
Rouge
#AB1239
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2127 #219B95
analogous
#9B2164 #9B2127 #9B5821
triadic
#9B2127 #279B21 #21279B
tetradic
#9B2127 #649B21 #219B95 #58219B
square
#9B2127 #649B21 #219B95 #58219B
split-complementary
#9B2127 #219B58 #21649B
monochromatic
#360C0E #69161A #9B2127 #CD2C34 #DC5A61
Accessibility & contrast
On white
7.95
#9B2127 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#9B2127 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B2127
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2127 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2127 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464026
Deuteranopia (green-blind)
#655A23
Tritanopia (blue-blind)
#AB0025
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9b2127; /* rgb */ color: rgb(155, 33, 39); /* oklch */ color: oklch(45.4% 0.157 23.9);
Tailwind
colors: {
custom: {
50: '#c16861',
500: '#9b2127',
950: '#000000',
},
}SCSS
$custom: #9b2127; $custom-light: #c16861; $custom-dark: #000000;
JSON
{
"hex": "#9b2127",
"rgb": {
"r": 155,
"g": 33,
"b": 39
},
"hsl": {
"h": 357.049,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.4537,
"c": 0.15747,
"h": 23.9
},
"luminance": 0.08203
}Semantic roles & 50–950 ramp
primary
#9B2127
secondary
#58C0BB
accent
#E8E040
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140705
muted
#827A79