#8A2127#8A2127
#8A2127 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.2% C 0.140 H 22.7°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2127 |
|---|---|
| RGB | rgb(138, 33, 39) |
| HSL | hsl(357, 61%, 34%) |
| HSV | hsv(357, 76%, 54%) |
| CMYK | cmyk(0%, 76.1%, 71.7%, 45.9%) |
| CIE-LAB | lab(30.97, 44.07, 23.39) |
| CIE-LCH | lch(30.97, 49.89, 27.96°) |
| OKLab | oklab(42.2% 0.1291 0.0541) |
| OKLCH | oklch(42.2% 0.14 22.7) |
| XYZ | xyz(11.3926, 6.6392, 2.6007) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.68
Crimson (survey)
#8C000F
ΔE00 5.52
Carmine
#9D0216
ΔE00 5.65
Wine Red
#7B0323
ΔE00 5.90
Brown
#A52A2A
ΔE00 6.23
Rouge
#AB1239
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2127 #218A84
analogous
#8A215B #8A2127 #8A4F21
triadic
#8A2127 #278A21 #21278A
tetradic
#8A2127 #5B8A21 #218A84 #4F218A
square
#8A2127 #5B8A21 #218A84 #4F218A
split-complementary
#8A2127 #218A4F #215B8A
monochromatic
#27090B #591519 #8A2127 #BB2D35 #D55058
Accessibility & contrast
On white
9.02
#8A2127 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8A2127 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2127
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2127 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2127 | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#403B26
Deuteranopia (green-blind)
#5A5124
Tritanopia (blue-blind)
#980024
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a2127; /* rgb */ color: rgb(138, 33, 39); /* oklch */ color: oklch(42.2% 0.140 22.7);
Tailwind
colors: {
custom: {
50: '#b36561',
500: '#8a2127',
950: '#000000',
},
}SCSS
$custom: #8a2127; $custom-light: #b36561; $custom-dark: #000000;
JSON
{
"hex": "#8a2127",
"rgb": {
"r": 138,
"g": 33,
"b": 39
},
"hsl": {
"h": 356.571,
"s": 61.404,
"l": 33.529
},
"oklch": {
"l": 0.42199,
"c": 0.13997,
"h": 22.7
},
"luminance": 0.06637
}Semantic roles & 50–950 ramp
primary
#8A2127
secondary
#4EB9B2
accent
#E5DB43
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120605
muted
#817A79