#7E2F2D#7E2F2D
#7E2F2D is a dark, moderate red. Relative luminance 0.067; OKLCH L 41.8% C 0.110 H 24.5°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2F2D |
|---|---|
| RGB | rgb(126, 47, 45) |
| HSL | hsl(1, 47%, 34%) |
| HSV | hsv(1, 64%, 49%) |
| CMYK | cmyk(0%, 62.7%, 64.3%, 50.6%) |
| CIE-LAB | lab(31.02, 34.12, 19.12) |
| CIE-LCH | lch(31.02, 39.11, 29.26°) |
| OKLab | oklab(41.84% 0.1005 0.0458) |
| OKLCH | oklch(41.84% 0.11 24.5) |
| XYZ | xyz(10.0953, 6.6594, 3.2359) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 5.70
Burgundy
#800020
ΔE00 6.71
Wine Red
#7B0323
ΔE00 7.22
Crimson (survey)
#8C000F
ΔE00 7.87
Brown
#A52A2A
ΔE00 8.12
Red Brown
#8B2E16
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2F2D #2D7C7E
analogous
#7E2D53 #7E2F2D #7E572D
triadic
#7E2F2D #2D7E2F #2F2D7E
tetradic
#7E2F2D #537E2D #2D7C7E #572D7E
square
#7E2F2D #537E2D #2D7C7E #572D7E
split-complementary
#7E2F2D #2D7E57 #2D537E
monochromatic
#240D0D #511E1D #7E2F2D #AB403D #C6625F
Accessibility & contrast
On white
9.01
#7E2F2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#7E2F2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2F2D
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2F2D | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#433E2C
Deuteranopia (green-blind)
#574F2B
Tritanopia (blue-blind)
#8A1F2F
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7e2f2d; /* rgb */ color: rgb(126, 47, 45); /* oklch */ color: oklch(41.8% 0.110 24.5);
Tailwind
colors: {
custom: {
50: '#a96b66',
500: '#7e2f2d',
950: '#000000',
},
}SCSS
$custom: #7e2f2d; $custom-light: #a96b66; $custom-dark: #000000;
JSON
{
"hex": "#7e2f2d",
"rgb": {
"r": 126,
"g": 47,
"b": 45
},
"hsl": {
"h": 1.481,
"s": 47.368,
"l": 33.529
},
"oklch": {
"l": 0.41843,
"c": 0.11045,
"h": 24.5
},
"luminance": 0.06658
}Semantic roles & 50–950 ramp
primary
#7E2F2D
secondary
#5AAAAC
accent
#D4D751
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110705
muted
#807A7A