#8A2128#8A2128
#8A2128 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.2% C 0.140 H 22.2°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2128 |
|---|---|
| RGB | rgb(138, 33, 40) |
| HSL | hsl(356, 61%, 34%) |
| HSV | hsv(356, 76%, 54%) |
| CMYK | cmyk(0%, 76.1%, 71%, 45.9%) |
| CIE-LAB | lab(30.99, 44.12, 22.77) |
| CIE-LCH | lch(30.99, 49.65, 27.30°) |
| OKLab | oklab(42.22% 0.1295 0.0529) |
| OKLCH | oklch(42.22% 0.14 22.2) |
| XYZ | xyz(11.4094, 6.6459, 2.6891) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.53
Wine Red
#7B0323
ΔE00 5.69
Crimson (survey)
#8C000F
ΔE00 5.83
Carmine
#9D0216
ΔE00 5.92
Brown
#A52A2A
ΔE00 6.38
Rouge
#AB1239
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2128 #218A83
analogous
#8A215C #8A2128 #8A4E21
triadic
#8A2128 #288A21 #21288A
tetradic
#8A2128 #5C8A21 #218A83 #4E218A
square
#8A2128 #5C8A21 #218A83 #4E218A
split-complementary
#8A2128 #218A4E #215C8A
monochromatic
#27090B #59151A #8A2128 #BB2D36 #D55059
Accessibility & contrast
On white
9.02
#8A2128 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8A2128 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2128
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2128 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2128 | 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)
#3F3B27
Deuteranopia (green-blind)
#5A5125
Tritanopia (blue-blind)
#980025
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a2128; /* rgb */ color: rgb(138, 33, 40); /* oklch */ color: oklch(42.2% 0.140 22.2);
Tailwind
colors: {
custom: {
50: '#b36562',
500: '#8a2128',
950: '#000000',
},
}SCSS
$custom: #8a2128; $custom-light: #b36562; $custom-dark: #000000;
JSON
{
"hex": "#8a2128",
"rgb": {
"r": 138,
"g": 33,
"b": 40
},
"hsl": {
"h": 356,
"s": 61.404,
"l": 33.529
},
"oklch": {
"l": 0.42216,
"c": 0.13988,
"h": 22.2
},
"luminance": 0.06644
}Semantic roles & 50–950 ramp
primary
#8A2128
secondary
#4EB9B1
accent
#E5DA43
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79