#7E2D1A#7E2D1A

#7E2D1A is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.3% C 0.117 H 34.5°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#7E2D1A
RGBrgb(126, 45, 26)
HSLhsl(11, 66%, 30%)
HSVhsv(11, 79%, 49%)
CMYKcmyk(0%, 64.3%, 79.4%, 50.6%)
CIE-LABlab(30.37, 34.02, 29.99)
CIE-LCHlch(30.37, 45.35, 41.39°)
OKLaboklab(41.27% 0.0962 0.0662)
OKLCHoklch(41.27% 0.117 34.5)
XYZxyz(9.7301, 6.3883, 1.6978)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D1A #1A6B7E
analogous
#7E1A39 #7E2D1A #7E5F1A
triadic
#7E2D1A #1A7E2D #2D1A7E
tetradic
#7E2D1A #397E1A #1A6B7E #5F1A7E
square
#7E2D1A #397E1A #1A6B7E #5F1A7E
split-complementary
#7E2D1A #1A7E5F #1A397E
monochromatic
#190905 #4B1B10 #7E2D1A #B13F24 #D7593C

Accessibility & contrast

On white

9.22
#7E2D1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7E2D1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2D1A
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D1A#FFFFFF#000000##FFFFFF
##7E2D1A1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C17
Deuteranopia (green-blind)
#584E17
Tritanopia (blue-blind)
#8B1929
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2d1a;
/* rgb */ color: rgb(126, 45, 26);
/* oklch */ color: oklch(41.3% 0.117 34.5);
Tailwind
colors: {
  custom: {
    50: '#aa6a58',
    500: '#7e2d1a',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d1a;
$custom-light: #aa6a58;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d1a",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 26
  },
  "hsl": {
    "h": 11.4,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41268,
    "c": 0.1168,
    "h": 34.5
  },
  "luminance": 0.06387
}

Semantic roles & 50–950 ramp

primary
#7E2D1A
secondary
#429DB2
accent
#C8E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E2D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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