#8A251F#8A251F
#8A251F is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.5% C 0.137 H 27.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #8A251F |
|---|---|
| RGB | rgb(138, 37, 31) |
| HSL | hsl(3, 63%, 33%) |
| HSV | hsv(3, 78%, 54%) |
| CMYK | cmyk(0%, 73.2%, 77.5%, 45.9%) |
| CIE-LAB | lab(31.41, 42.16, 28.85) |
| CIE-LCH | lch(31.41, 51.09, 34.38°) |
| OKLab | oklab(42.49% 0.1213 0.0643) |
| OKLCH | oklch(42.49% 0.137 27.9) |
| XYZ | xyz(11.3914, 6.8271, 2.0140) |
| Luminance | 0.0683 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.94
Carmine
#9D0216
ΔE00 4.40
Red Brown
#8B2E16
ΔE00 5.02
Indian Red
#850E04
ΔE00 5.08
Darkred
#8B0000
ΔE00 5.54
Dark Red
#840000
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A251F #1F848A
analogous
#8A1F4F #8A251F #8A5A1F
triadic
#8A251F #1F8A25 #251F8A
tetradic
#8A251F #4F8A1F #1F848A #5A1F8A
square
#8A251F #4F8A1F #1F848A #5A1F8A
split-complementary
#8A251F #1F8A5A #1F4F8A
monochromatic
#260A09 #581814 #8A251F #BC322A #D7544C
Accessibility & contrast
On white
8.88
#8A251F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#8A251F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A251F
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A251F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A251F | 1.00 | 8.88 | 2.37 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#433C1D
Deuteranopia (green-blind)
#5C521B
Tritanopia (blue-blind)
#980025
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a251f; /* rgb */ color: rgb(138, 37, 31); /* oklch */ color: oklch(42.5% 0.137 27.9);
Tailwind
colors: {
custom: {
50: '#b4675b',
500: '#8a251f',
950: '#000000',
},
}SCSS
$custom: #8a251f; $custom-light: #b4675b; $custom-dark: #000000;
JSON
{
"hex": "#8a251f",
"rgb": {
"r": 138,
"g": 37,
"b": 31
},
"hsl": {
"h": 3.364,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.42491,
"c": 0.13725,
"h": 27.9
},
"luminance": 0.06825
}Semantic roles & 50–950 ramp
primary
#8A251F
secondary
#4BB3BA
accent
#DDE641
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120604
muted
#817A79