#7E2D1B#7E2D1B

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

Color values

HEX#7E2D1B
RGBrgb(126, 45, 27)
HSLhsl(11, 65%, 30%)
HSVhsv(11, 79%, 49%)
CMYKcmyk(0%, 64.3%, 78.6%, 50.6%)
CIE-LABlab(30.38, 34.06, 29.42)
CIE-LCHlch(30.38, 45.01, 40.82°)
OKLaboklab(41.28% 0.0966 0.0653)
OKLCHoklch(41.28% 0.117 34.1)
XYZxyz(9.7414, 6.3929, 1.7577)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D1B #1B6C7E
analogous
#7E1B3B #7E2D1B #7E5E1B
triadic
#7E2D1B #1B7E2D #2D1B7E
tetradic
#7E2D1B #3B7E1B #1B6C7E #5E1B7E
square
#7E2D1B #3B7E1B #1B6C7E #5E1B7E
split-complementary
#7E2D1B #1B7E5E #1B3B7E
monochromatic
#190905 #4C1B10 #7E2D1B #B03F26 #D6593E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E2D1B#FFFFFF#000000##FFFFFF
##7E2D1B1.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)
#443C19
Deuteranopia (green-blind)
#584E18
Tritanopia (blue-blind)
#8B1929
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2d1b;
/* rgb */ color: rgb(126, 45, 27);
/* oklch */ color: oklch(41.3% 0.117 34.1);
Tailwind
colors: {
  custom: {
    50: '#aa6a58',
    500: '#7e2d1b',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d1b;
$custom-light: #aa6a58;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d1b",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 27
  },
  "hsl": {
    "h": 10.909,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.41279,
    "c": 0.11656,
    "h": 34.1
  },
  "luminance": 0.06392
}

Semantic roles & 50–950 ramp

primary
#7E2D1B
secondary
#439EB2
accent
#C9E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E2D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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