#8A2F42#8A2F42
#8A2F42 is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.4% C 0.124 H 11.2°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2F42 |
|---|---|
| RGB | rgb(138, 47, 66) |
| HSL | hsl(347, 49%, 36%) |
| HSV | hsv(347, 66%, 54%) |
| CMYK | cmyk(0%, 65.9%, 52.2%, 45.9%) |
| CIE-LAB | lab(33.63, 40.23, 9.43) |
| CIE-LCH | lch(33.63, 41.32, 13.19°) |
| OKLab | oklab(44.36% 0.1219 0.0241) |
| OKLCH | oklch(44.36% 0.124 11.2) |
| XYZ | xyz(12.4821, 7.8312, 6.0075) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 5.37
Red Wine
#8C0034
ΔE00 5.54
Cranberry
#9E003A
ΔE00 5.63
Berry
#990F4B
ΔE00 6.33
Purple Red
#990147
ΔE00 6.41
Bordeaux
#7B002C
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2F42 #2F8A77
analogous
#8A2F70 #8A2F42 #8A4A2F
triadic
#8A2F42 #428A2F #2F428A
tetradic
#8A2F42 #708A2F #2F8A77 #4A2F8A
square
#8A2F42 #708A2F #2F8A77 #4A2F8A
split-complementary
#8A2F42 #2F8A4A #2F708A
monochromatic
#2F1016 #5C1F2C #8A2F42 #B83F58 #CC687D
Accessibility & contrast
On white
8.18
#8A2F42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#8A2F42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2F42
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2F42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2F42 | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444342
Deuteranopia (green-blind)
#5B5640
Tritanopia (blue-blind)
#962036
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8a2f42; /* rgb */ color: rgb(138, 47, 66); /* oklch */ color: oklch(44.4% 0.124 11.2);
Tailwind
colors: {
custom: {
50: '#b16d76',
500: '#8a2f42',
950: '#000000',
},
}SCSS
$custom: #8a2f42; $custom-light: #b16d76; $custom-dark: #000000;
JSON
{
"hex": "#8a2f42",
"rgb": {
"r": 138,
"g": 47,
"b": 66
},
"hsl": {
"h": 347.473,
"s": 49.189,
"l": 36.275
},
"oklch": {
"l": 0.44358,
"c": 0.1242,
"h": 11.2
},
"luminance": 0.0783
}Semantic roles & 50–950 ramp
primary
#8A2F42
secondary
#62B3A2
accent
#D9BC4F
background
#FBF6F7
surface
#F6ECED
border
#D0C7C8
text
#110708
muted
#807A7B