#8A2F40#8A2F40
#8A2F40 is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.3% C 0.124 H 12.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2F40 |
|---|---|
| RGB | rgb(138, 47, 64) |
| HSL | hsl(349, 49%, 36%) |
| HSV | hsv(349, 66%, 54%) |
| CMYK | cmyk(0%, 65.9%, 53.6%, 45.9%) |
| CIE-LAB | lab(33.58, 40.05, 10.66) |
| CIE-LCH | lch(33.58, 41.44, 14.90°) |
| OKLab | oklab(44.31% 0.121 0.027) |
| OKLCH | oklch(44.31% 0.124 12.6) |
| XYZ | xyz(12.4242, 7.8081, 5.7023) |
| Luminance | 0.0781 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 5.18
Red Wine
#8C0034
ΔE00 5.55
Cranberry
#9E003A
ΔE00 5.58
Berry
#990F4B
ΔE00 6.88
Purple Red
#990147
ΔE00 6.89
Rouge
#AB1239
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2F40 #2F8A79
analogous
#8A2F6E #8A2F40 #8A4C2F
triadic
#8A2F40 #408A2F #2F408A
tetradic
#8A2F40 #6E8A2F #2F8A79 #4C2F8A
square
#8A2F40 #6E8A2F #2F8A79 #4C2F8A
split-complementary
#8A2F40 #2F8A4C #2F6E8A
monochromatic
#2F1016 #5C1F2B #8A2F40 #B83F55 #CC687A
Accessibility & contrast
On white
8.20
#8A2F40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#8A2F40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2F40
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2F40 | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444340
Deuteranopia (green-blind)
#5C563E
Tritanopia (blue-blind)
#972036
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8a2f40; /* rgb */ color: rgb(138, 47, 64); /* oklch */ color: oklch(44.3% 0.124 12.6);
Tailwind
colors: {
custom: {
50: '#b16d74',
500: '#8a2f40',
950: '#000000',
},
}SCSS
$custom: #8a2f40; $custom-light: #b16d74; $custom-dark: #000000;
JSON
{
"hex": "#8a2f40",
"rgb": {
"r": 138,
"g": 47,
"b": 64
},
"hsl": {
"h": 348.791,
"s": 49.189,
"l": 36.275
},
"oklch": {
"l": 0.44306,
"c": 0.12399,
"h": 12.6
},
"luminance": 0.07806
}Semantic roles & 50–950 ramp
primary
#8A2F40
secondary
#62B3A4
accent
#D9BF4F
background
#FBF6F7
surface
#F6ECED
border
#D0C7C8
text
#110708
muted
#807A7B