#8A231F#8A231F
#8A231F is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.3% C 0.139 H 27.2°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #8A231F |
|---|---|
| RGB | rgb(138, 35, 31) |
| HSL | hsl(2, 63%, 33%) |
| HSV | hsv(2, 78%, 54%) |
| CMYK | cmyk(0%, 74.6%, 77.5%, 45.9%) |
| CIE-LAB | lab(31.13, 42.94, 28.54) |
| CIE-LCH | lch(31.13, 51.56, 33.61°) |
| OKLab | oklab(42.28% 0.1237 0.0636) |
| OKLCH | oklch(42.28% 0.139 27.2) |
| XYZ | xyz(11.3309, 6.7060, 1.9938) |
| Luminance | 0.0670 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.73
Carmine
#9D0216
ΔE00 4.25
Indian Red
#850E04
ΔE00 5.18
Red Brown
#8B2E16
ΔE00 5.51
Darkred
#8B0000
ΔE00 5.60
Dark Red
#840000
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A231F #1F868A
analogous
#8A1F50 #8A231F #8A581F
triadic
#8A231F #1F8A23 #231F8A
tetradic
#8A231F #508A1F #1F868A #581F8A
square
#8A231F #508A1F #1F868A #581F8A
split-complementary
#8A231F #1F8A58 #1F508A
monochromatic
#260A09 #581614 #8A231F #BC302A #D7524C
Accessibility & contrast
On white
8.97
#8A231F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#8A231F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A231F
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A231F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A231F | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#413B1D
Deuteranopia (green-blind)
#5B511B
Tritanopia (blue-blind)
#980023
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a231f; /* rgb */ color: rgb(138, 35, 31); /* oklch */ color: oklch(42.3% 0.139 27.2);
Tailwind
colors: {
custom: {
50: '#b4665b',
500: '#8a231f',
950: '#000000',
},
}SCSS
$custom: #8a231f; $custom-light: #b4665b; $custom-dark: #000000;
JSON
{
"hex": "#8a231f",
"rgb": {
"r": 138,
"g": 35,
"b": 31
},
"hsl": {
"h": 2.243,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.42281,
"c": 0.13911,
"h": 27.2
},
"luminance": 0.06704
}Semantic roles & 50–950 ramp
primary
#8A231F
secondary
#4BB5BA
accent
#E0E641
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120604
muted
#817A79