#9B231F#9B231F
#9B231F is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.4% C 0.157 H 27.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #9B231F |
|---|---|
| RGB | rgb(155, 35, 31) |
| HSL | hsl(2, 67%, 36%) |
| HSV | hsv(2, 80%, 61%) |
| CMYK | cmyk(0%, 77.4%, 80%, 39.2%) |
| CIE-LAB | lab(34.54, 48.49, 33.20) |
| CIE-LCH | lch(34.54, 58.77, 34.40°) |
| OKLab | oklab(45.44% 0.1391 0.0724) |
| OKLCH | oklch(45.44% 0.157 27.5) |
| XYZ | xyz(14.3676, 8.2718, 2.1362) |
| Luminance | 0.0827 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 2.80
Brown
#A52A2A
ΔE00 3.02
Brownish Red
#9E3623
ΔE00 4.30
Brick
#A03623
ΔE00 4.43
Firebrick
#B22222
ΔE00 4.47
Darkish Red
#A90308
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B231F #1F979B
analogous
#9B1F59 #9B231F #9B611F
triadic
#9B231F #1F9B23 #231F9B
tetradic
#9B231F #599B1F #1F979B #611F9B
square
#9B231F #599B1F #1F979B #611F9B
split-complementary
#9B231F #1F9B61 #1F599B
monochromatic
#350C0B #681715 #9B231F #CE2F29 #DD5B57
Accessibility & contrast
On white
7.91
#9B231F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#9B231F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B231F
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B231F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B231F | 1.00 | 7.91 | 2.65 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48411D
Deuteranopia (green-blind)
#665B1A
Tritanopia (blue-blind)
#AB0024
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9b231f; /* rgb */ color: rgb(155, 35, 31); /* oklch */ color: oklch(45.4% 0.157 27.5);
Tailwind
colors: {
custom: {
50: '#c1695b',
500: '#9b231f',
950: '#000000',
},
}SCSS
$custom: #9b231f; $custom-light: #c1695b; $custom-dark: #000000;
JSON
{
"hex": "#9b231f",
"rgb": {
"r": 155,
"g": 35,
"b": 31
},
"hsl": {
"h": 1.935,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.45441,
"c": 0.15681,
"h": 27.5
},
"luminance": 0.0827
}Semantic roles & 50–950 ramp
primary
#9B231F
secondary
#55BEC1
accent
#E4EA3E
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79