#8A1F30#8A1F30
#8A1F30 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.2% C 0.141 H 17.3°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F30 |
|---|---|
| RGB | rgb(138, 31, 48) |
| HSL | hsl(350, 63%, 33%) |
| HSV | hsv(350, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 65.2%, 45.9%) |
| CIE-LAB | lab(30.87, 45.30, 17.45) |
| CIE-LCH | lch(30.87, 48.54, 21.07°) |
| OKLab | oklab(42.18% 0.135 0.042) |
| OKLCH | oklch(42.18% 0.141 17.3) |
| XYZ | xyz(11.5059, 6.5984, 3.4635) |
| Luminance | 0.0660 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.28
Wine Red
#7B0323
ΔE00 4.51
Red Wine
#8C0034
ΔE00 4.63
Cranberry
#9E003A
ΔE00 5.14
Bordeaux
#7B002C
ΔE00 5.79
Rouge
#AB1239
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F30 #1F8A79
analogous
#8A1F65 #8A1F30 #8A431F
triadic
#8A1F30 #308A1F #1F308A
tetradic
#8A1F30 #658A1F #1F8A79 #431F8A
square
#8A1F30 #658A1F #1F8A79 #431F8A
split-complementary
#8A1F30 #1F8A43 #1F658A
monochromatic
#26090D #58141F #8A1F30 #BC2A41 #D74C62
Accessibility & contrast
On white
9.05
#8A1F30 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#8A1F30 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F30
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F30 | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3A30
Deuteranopia (green-blind)
#58512D
Tritanopia (blue-blind)
#980026
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1f30; /* rgb */ color: rgb(138, 31, 48); /* oklch */ color: oklch(42.2% 0.141 17.3);
Tailwind
colors: {
custom: {
50: '#b36568',
500: '#8a1f30',
950: '#000000',
},
}SCSS
$custom: #8a1f30; $custom-light: #b36568; $custom-dark: #000000;
JSON
{
"hex": "#8a1f30",
"rgb": {
"r": 138,
"g": 31,
"b": 48
},
"hsl": {
"h": 350.467,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.42179,
"c": 0.14141,
"h": 17.3
},
"luminance": 0.06597
}Semantic roles & 50–950 ramp
primary
#8A1F30
secondary
#4BBAA8
accent
#E6CC41
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A