#7E2A2B#7E2A2B
#7E2A2B is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.1% C 0.117 H 23.1°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2A2B |
|---|---|
| RGB | rgb(126, 42, 43) |
| HSL | hsl(359, 50%, 33%) |
| HSV | hsv(359, 67%, 49%) |
| CMYK | cmyk(0%, 66.7%, 65.9%, 50.6%) |
| CIE-LAB | lab(30.08, 36.40, 19.20) |
| CIE-LCH | lch(30.08, 41.16, 27.82°) |
| OKLab | oklab(41.12% 0.1073 0.0458) |
| OKLCH | oklch(41.12% 0.117 23.1) |
| XYZ | xyz(9.8692, 6.2673, 2.9751) |
| Luminance | 0.0627 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 5.49
Wine
#722F37
ΔE00 5.53
Wine Red
#7B0323
ΔE00 6.00
Crimson (survey)
#8C000F
ΔE00 7.43
Claret
#680018
ΔE00 7.75
Carmine
#9D0216
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2A2B #2A7E7D
analogous
#7E2A55 #7E2A2B #7E532A
triadic
#7E2A2B #2B7E2A #2A2B7E
tetradic
#7E2A2B #557E2A #2A7E7D #532A7E
square
#7E2A2B #557E2A #2A7E7D #532A7E
split-complementary
#7E2A2B #2A7E53 #2A557E
monochromatic
#220B0C #501B1B #7E2A2B #AC393B #C85A5C
Accessibility & contrast
On white
9.32
#7E2A2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#7E2A2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2A2B
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2A2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2A2B | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#403C2A
Deuteranopia (green-blind)
#554D29
Tritanopia (blue-blind)
#8A172B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7e2a2b; /* rgb */ color: rgb(126, 42, 43); /* oklch */ color: oklch(41.1% 0.117 23.1);
Tailwind
colors: {
custom: {
50: '#a96864',
500: '#7e2a2b',
950: '#000000',
},
}SCSS
$custom: #7e2a2b; $custom-light: #a96864; $custom-dark: #000000;
JSON
{
"hex": "#7e2a2b",
"rgb": {
"r": 126,
"g": 42,
"b": 43
},
"hsl": {
"h": 359.286,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.41124,
"c": 0.11665,
"h": 23.1
},
"luminance": 0.06266
}Semantic roles & 50–950 ramp
primary
#7E2A2B
secondary
#56AEAD
accent
#DAD84E
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79