#8A1D38#8A1D38
#8A1D38 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.2% C 0.144 H 12.1°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1D38 |
|---|---|
| RGB | rgb(138, 29, 56) |
| HSL | hsl(345, 65%, 33%) |
| HSV | hsv(345, 79%, 54%) |
| CMYK | cmyk(0%, 79%, 59.4%, 45.9%) |
| CIE-LAB | lab(30.81, 46.52, 12.09) |
| CIE-LCH | lch(30.81, 48.07, 14.57°) |
| OKLab | oklab(42.18% 0.1405 0.0301) |
| OKLCH | oklch(42.18% 0.144 12.1) |
| XYZ | xyz(11.6356, 6.5692, 4.3959) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 2.50
Cranberry
#9E003A
ΔE00 3.84
Bordeaux
#7B002C
ΔE00 4.48
Wine Red
#7B0323
ΔE00 5.44
Purple Red
#990147
ΔE00 5.61
Berry
#990F4B
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1D38 #1D8A6F
analogous
#8A1D6E #8A1D38 #8A391D
triadic
#8A1D38 #388A1D #1D388A
tetradic
#8A1D38 #6E8A1D #1D8A6F #391D8A
square
#8A1D38 #6E8A1D #1D8A6F #391D8A
split-complementary
#8A1D38 #1D8A39 #1D6E8A
monochromatic
#25080F #571223 #8A1D38 #BD284D #D9496C
Accessibility & contrast
On white
9.08
#8A1D38 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8A1D38 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1D38
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1D38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1D38 | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3A38
Deuteranopia (green-blind)
#575135
Tritanopia (blue-blind)
#970029
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1d38; /* rgb */ color: rgb(138, 29, 56); /* oklch */ color: oklch(42.2% 0.144 12.1);
Tailwind
colors: {
custom: {
50: '#b2646e',
500: '#8a1d38',
950: '#000000',
},
}SCSS
$custom: #8a1d38; $custom-light: #b2646e; $custom-dark: #000000;
JSON
{
"hex": "#8a1d38",
"rgb": {
"r": 138,
"g": 29,
"b": 56
},
"hsl": {
"h": 345.138,
"s": 65.269,
"l": 32.745
},
"oklch": {
"l": 0.42183,
"c": 0.14371,
"h": 12.1
},
"luminance": 0.06568
}Semantic roles & 50–950 ramp
primary
#8A1D38
secondary
#48BB9E
accent
#E8BE40
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A