#8A2531#8A2531
#8A2531 is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.8% C 0.135 H 18.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2531 |
|---|---|
| RGB | rgb(138, 37, 49) |
| HSL | hsl(353, 58%, 34%) |
| HSV | hsv(353, 73%, 54%) |
| CMYK | cmyk(0%, 73.2%, 64.5%, 45.9%) |
| CIE-LAB | lab(31.69, 43.14, 17.86) |
| CIE-LCH | lch(31.69, 46.69, 22.48°) |
| OKLab | oklab(42.79% 0.1283 0.043) |
| OKLCH | oklch(42.79% 0.135 18.5) |
| XYZ | xyz(11.6984, 6.9498, 3.6306) |
| Luminance | 0.0695 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.93
Wine Red
#7B0323
ΔE00 5.32
Red Wine
#8C0034
ΔE00 5.67
Cranberry
#9E003A
ΔE00 5.85
Wine
#722F37
ΔE00 6.07
Rouge
#AB1239
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2531 #258A7E
analogous
#8A2564 #8A2531 #8A4C25
triadic
#8A2531 #318A25 #25318A
tetradic
#8A2531 #648A25 #258A7E #4C258A
square
#8A2531 #648A25 #258A7E #4C258A
split-complementary
#8A2531 #258A4C #25648A
monochromatic
#290B0F #5A1820 #8A2531 #BA3242 #D25766
Accessibility & contrast
On white
8.79
#8A2531 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#8A2531 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2531
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2531 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2531 | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#403D31
Deuteranopia (green-blind)
#5A522E
Tritanopia (blue-blind)
#98062A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a2531; /* rgb */ color: rgb(138, 37, 49); /* oklch */ color: oklch(42.8% 0.135 18.5);
Tailwind
colors: {
custom: {
50: '#b26768',
500: '#8a2531',
950: '#000000',
},
}SCSS
$custom: #8a2531; $custom-light: #b26768; $custom-dark: #000000;
JSON
{
"hex": "#8a2531",
"rgb": {
"r": 138,
"g": 37,
"b": 49
},
"hsl": {
"h": 352.871,
"s": 57.714,
"l": 34.314
},
"oklch": {
"l": 0.42793,
"c": 0.13536,
"h": 18.5
},
"luminance": 0.06948
}Semantic roles & 50–950 ramp
primary
#8A2531
secondary
#54B7AB
accent
#E1CF47
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A