#7E2B1D#7E2B1D

#7E2B1D is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.0% C 0.118 H 31.9°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#7E2B1D
RGBrgb(126, 43, 29)
HSLhsl(9, 63%, 30%)
HSVhsv(9, 77%, 49%)
CMYKcmyk(0%, 65.9%, 77%, 50.6%)
CIE-LABlab(30.04, 35.12, 27.89)
CIE-LCHlch(30.04, 44.85, 38.45°)
OKLaboklab(41.03% 0.1003 0.0625)
OKLCHoklch(41.03% 0.118 31.9)
XYZxyz(9.6909, 6.2535, 1.8589)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B1D #1D707E
analogous
#7E1D3F #7E2B1D #7E5B1D
triadic
#7E2B1D #1D7E2B #2B1D7E
tetradic
#7E2B1D #3F7E1D #1D707E #5B1D7E
square
#7E2B1D #3F7E1D #1D707E #5B1D7E
split-complementary
#7E2B1D #1D7E5B #1D3F7E
monochromatic
#1B0906 #4C1A12 #7E2B1D #B03C28 #D35742

Accessibility & contrast

On white

9.33
#7E2B1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7E2B1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2B1D
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B1D#FFFFFF#000000##FFFFFF
##7E2B1D1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B1B
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#8B1628
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2b1d;
/* rgb */ color: rgb(126, 43, 29);
/* oklch */ color: oklch(41.0% 0.118 31.9);
Tailwind
colors: {
  custom: {
    50: '#aa695a',
    500: '#7e2b1d',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b1d;
$custom-light: #aa695a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b1d",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 29
  },
  "hsl": {
    "h": 8.66,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41031,
    "c": 0.11813,
    "h": 31.9
  },
  "luminance": 0.06252
}

Semantic roles & 50–950 ramp

primary
#7E2B1D
secondary
#45A2B1
accent
#CEE642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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