#7F2E1A#7F2E1A
#7F2E1A is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.6% C 0.117 H 35.0°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2E1A |
|---|---|
| RGB | rgb(127, 46, 26) |
| HSL | hsl(12, 66%, 30%) |
| HSV | hsv(12, 80%, 50%) |
| CMYK | cmyk(0%, 63.8%, 79.5%, 50.2%) |
| CIE-LAB | lab(30.74, 33.92, 30.43) |
| CIE-LCH | lch(30.74, 45.57, 41.89°) |
| OKLab | oklab(41.58% 0.0958 0.0671) |
| OKLCH | oklch(41.58% 0.117 35) |
| XYZ | xyz(9.9169, 6.5420, 1.7176) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 2.76
Reddish Brown
#7F2B0A
ΔE00 3.57
Indian Red
#850E04
ΔE00 5.29
Chestnut
#742802
ΔE00 5.38
Brick Red
#8F1402
ΔE00 5.48
Brown Red
#922B05
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2E1A #1A6B7F
analogous
#7F1A39 #7F2E1A #7F601A
triadic
#7F2E1A #1A7F2E #2E1A7F
tetradic
#7F2E1A #397F1A #1A6B7F #601A7F
square
#7F2E1A #397F1A #1A6B7F #601A7F
split-complementary
#7F2E1A #1A7F60 #1A397F
monochromatic
#190905 #4C1C10 #7F2E1A #B24024 #D75B3C
Accessibility & contrast
On white
9.10
#7F2E1A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#7F2E1A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2E1A
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2E1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2E1A | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453D17
Deuteranopia (green-blind)
#594F17
Tritanopia (blue-blind)
#8C1A2A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7f2e1a; /* rgb */ color: rgb(127, 46, 26); /* oklch */ color: oklch(41.6% 0.117 35.0);
Tailwind
colors: {
custom: {
50: '#ab6a58',
500: '#7f2e1a',
950: '#000000',
},
}SCSS
$custom: #7f2e1a; $custom-light: #ab6a58; $custom-dark: #000000;
JSON
{
"hex": "#7f2e1a",
"rgb": {
"r": 127,
"g": 46,
"b": 26
},
"hsl": {
"h": 11.881,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.41581,
"c": 0.11695,
"h": 35
},
"luminance": 0.06541
}Semantic roles & 50–950 ramp
primary
#7F2E1A
secondary
#429DB3
accent
#C7E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78