#8A313B#8A313B
#8A313B is a dark, vivid red. Relative luminance 0.079; OKLCH L 44.4% C 0.121 H 16.9°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #8A313B |
|---|---|
| RGB | rgb(138, 49, 59) |
| HSL | hsl(353, 48%, 37%) |
| HSV | hsv(353, 64%, 54%) |
| CMYK | cmyk(0%, 64.5%, 57.2%, 45.9%) |
| CIE-LAB | lab(33.81, 38.69, 14.19) |
| CIE-LCH | lch(33.81, 41.21, 20.15°) |
| OKLab | oklab(44.44% 0.116 0.0352) |
| OKLCH | oklch(44.44% 0.121 16.9) |
| XYZ | xyz(12.3700, 7.9173, 5.0136) |
| Luminance | 0.0792 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 5.21
Cranberry
#9E003A
ΔE00 6.39
Red Wine
#8C0034
ΔE00 6.59
Rouge
#AB1239
ΔE00 6.73
Wine Red
#7B0323
ΔE00 7.45
Burgundy
#800020
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A313B #318A80
analogous
#8A3168 #8A313B #8A5431
triadic
#8A313B #3B8A31 #313B8A
tetradic
#8A313B #688A31 #318A80 #54318A
square
#8A313B #688A31 #318A80 #54318A
split-complementary
#8A313B #318A54 #31688A
monochromatic
#301114 #5D2128 #8A313B #B7414E #CA6B76
Accessibility & contrast
On white
8.13
#8A313B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#8A313B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A313B
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A313B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A313B | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#46443B
Deuteranopia (green-blind)
#5D5639
Tritanopia (blue-blind)
#972135
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8a313b; /* rgb */ color: rgb(138, 49, 59); /* oklch */ color: oklch(44.4% 0.121 16.9);
Tailwind
colors: {
custom: {
50: '#b16e70',
500: '#8a313b',
950: '#000000',
},
}SCSS
$custom: #8a313b; $custom-light: #b16e70; $custom-dark: #000000;
JSON
{
"hex": "#8a313b",
"rgb": {
"r": 138,
"g": 49,
"b": 59
},
"hsl": {
"h": 353.258,
"s": 47.594,
"l": 36.667
},
"oklch": {
"l": 0.44441,
"c": 0.12122,
"h": 16.9
},
"luminance": 0.07916
}Semantic roles & 50–950 ramp
primary
#8A313B
secondary
#65B2A9
accent
#D7C851
background
#FBF6F6
surface
#F6ECEC
border
#D0C7C7
text
#120707
muted
#817A7A