#7E2E1A#7E2E1A

#7E2E1A is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.4% C 0.116 H 35.1°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#7E2E1A
RGBrgb(126, 46, 26)
HSLhsl(12, 66%, 30%)
HSVhsv(12, 79%, 49%)
CMYKcmyk(0%, 63.5%, 79.4%, 50.6%)
CIE-LABlab(30.56, 33.53, 30.18)
CIE-LCHlch(30.56, 45.11, 41.99°)
OKLaboklab(41.41% 0.0947 0.0666)
OKLCHoklch(41.41% 0.116 35.1)
XYZxyz(9.7687, 6.4656, 1.7107)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E1A #1A6A7E
analogous
#7E1A38 #7E2E1A #7E601A
triadic
#7E2E1A #1A7E2E #2E1A7E
tetradic
#7E2E1A #387E1A #1A6A7E #601A7E
square
#7E2E1A #387E1A #1A6A7E #601A7E
split-complementary
#7E2E1A #1A7E60 #1A387E
monochromatic
#190905 #4B1B10 #7E2E1A #B14124 #D75B3C

Accessibility & contrast

On white

9.16
#7E2E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7E2E1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E1A
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E1A#FFFFFF#000000##FFFFFF
##7E2E1A1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D17
Deuteranopia (green-blind)
#584F17
Tritanopia (blue-blind)
#8B1A2A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2e1a;
/* rgb */ color: rgb(126, 46, 26);
/* oklch */ color: oklch(41.4% 0.116 35.1);
Tailwind
colors: {
  custom: {
    50: '#aa6a58',
    500: '#7e2e1a',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e1a;
$custom-light: #aa6a58;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e1a",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 26
  },
  "hsl": {
    "h": 12,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41408,
    "c": 0.11579,
    "h": 35.1
  },
  "luminance": 0.06464
}

Semantic roles & 50–950 ramp

primary
#7E2E1A
secondary
#429CB2
accent
#C7E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E2E1A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7E2E1A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva