#9D231E#9D231E
#9D231E is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.8% C 0.159 H 27.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9D231E |
|---|---|
| RGB | rgb(157, 35, 30) |
| HSL | hsl(2, 68%, 37%) |
| HSV | hsv(2, 81%, 62%) |
| CMYK | cmyk(0%, 77.7%, 80.9%, 38.4%) |
| CIE-LAB | lab(34.94, 49.09, 34.30) |
| CIE-LCH | lch(34.94, 59.89, 34.94°) |
| OKLab | oklab(45.8% 0.1405 0.0743) |
| OKLCH | oklch(45.8% 0.159 27.9) |
| XYZ | xyz(14.7418, 8.4662, 2.0860) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 2.93
Brown
#A52A2A
ΔE00 3.02
Brownish Red
#9E3623
ΔE00 3.97
Brick
#A03623
ΔE00 4.07
Firebrick
#B22222
ΔE00 4.08
Darkish Red
#A90308
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D231E #1E989D
analogous
#9D1E59 #9D231E #9D631E
triadic
#9D231E #1E9D23 #231E9D
tetradic
#9D231E #599D1E #1E989D #631E9D
square
#9D231E #599D1E #1E989D #631E9D
split-complementary
#9D231E #1E9D63 #1E599D
monochromatic
#360C0A #6A1814 #9D231E #D02E28 #DF5C57
Accessibility & contrast
On white
7.80
#9D231E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9D231E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D231E
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D231E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D231E | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#49411C
Deuteranopia (green-blind)
#675C18
Tritanopia (blue-blind)
#AD0023
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9d231e; /* rgb */ color: rgb(157, 35, 30); /* oklch */ color: oklch(45.8% 0.159 27.9);
Tailwind
colors: {
custom: {
50: '#c3695b',
500: '#9d231e',
950: '#000000',
},
}SCSS
$custom: #9d231e; $custom-light: #c3695b; $custom-dark: #000000;
JSON
{
"hex": "#9d231e",
"rgb": {
"r": 157,
"g": 35,
"b": 30
},
"hsl": {
"h": 2.362,
"s": 67.914,
"l": 36.667
},
"oklch": {
"l": 0.45802,
"c": 0.15896,
"h": 27.9
},
"luminance": 0.08464
}Semantic roles & 50–950 ramp
primary
#9D231E
secondary
#54BEC2
accent
#E4EB3D
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79