#8A251B#8A251B
#8A251B is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.4% C 0.138 H 29.6°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #8A251B |
|---|---|
| RGB | rgb(138, 37, 27) |
| HSL | hsl(5, 67%, 32%) |
| HSV | hsv(5, 80%, 54%) |
| CMYK | cmyk(0%, 73.2%, 80.4%, 45.9%) |
| CIE-LAB | lab(31.36, 42.01, 31.16) |
| CIE-LCH | lch(31.36, 52.30, 36.57°) |
| OKLab | oklab(42.44% 0.1199 0.0681) |
| OKLCH | oklch(42.44% 0.138 29.6) |
| XYZ | xyz(11.3420, 6.8073, 1.7534) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.85
Crimson (survey)
#8C000F
ΔE00 3.87
Indian Red
#850E04
ΔE00 4.17
Carmine
#9D0216
ΔE00 4.52
Brick Red
#8F1402
ΔE00 4.55
Darkred
#8B0000
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A251B #1B808A
analogous
#8A1B49 #8A251B #8A5C1B
triadic
#8A251B #1B8A25 #251B8A
tetradic
#8A251B #498A1B #1B808A #5C1B8A
square
#8A251B #498A1B #1B808A #5C1B8A
split-complementary
#8A251B #1B8A5C #1B498A
monochromatic
#240A07 #571711 #8A251B #BD3325 #DB5245
Accessibility & contrast
On white
8.89
#8A251B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#8A251B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A251B
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A251B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A251B | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#433C19
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#980024
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a251b; /* rgb */ color: rgb(138, 37, 27); /* oklch */ color: oklch(42.4% 0.138 29.6);
Tailwind
colors: {
custom: {
50: '#b46758',
500: '#8a251b',
950: '#000000',
},
}SCSS
$custom: #8a251b; $custom-light: #b46758; $custom-dark: #000000;
JSON
{
"hex": "#8a251b",
"rgb": {
"r": 138,
"g": 37,
"b": 27
},
"hsl": {
"h": 5.405,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.42442,
"c": 0.13791,
"h": 29.6
},
"luminance": 0.06806
}Semantic roles & 50–950 ramp
primary
#8A251B
secondary
#45B1BC
accent
#DBEA3E
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78