#7E2B1A#7E2B1A

#7E2B1A is a dark, moderate red. Relative luminance 0.062; OKLCH L 41.0% C 0.119 H 33.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#7E2B1A
RGBrgb(126, 43, 26)
HSLhsl(10, 66%, 30%)
HSVhsv(10, 79%, 49%)
CMYKcmyk(0%, 65.9%, 79.4%, 50.6%)
CIE-LABlab(30.01, 34.99, 29.60)
CIE-LCHlch(30.01, 45.83, 40.23°)
OKLaboklab(40.99% 0.0992 0.0654)
OKLCHoklch(40.99% 0.119 33.4)
XYZxyz(9.6556, 6.2393, 1.6730)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B1A #1A6D7E
analogous
#7E1A3B #7E2B1A #7E5D1A
triadic
#7E2B1A #1A7E2B #2B1A7E
tetradic
#7E2B1A #3B7E1A #1A6D7E #5D1A7E
square
#7E2B1A #3B7E1A #1A6D7E #5D1A7E
split-complementary
#7E2B1A #1A7E5D #1A3B7E
monochromatic
#190905 #4B1A10 #7E2B1A #B13C24 #D7563C

Accessibility & contrast

On white

9.34
#7E2B1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2B1A
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B1A#FFFFFF#000000##FFFFFF
##7E2B1A1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B18
Deuteranopia (green-blind)
#574D17
Tritanopia (blue-blind)
#8B1528
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2b1a;
/* rgb */ color: rgb(126, 43, 26);
/* oklch */ color: oklch(41.0% 0.119 33.4);
Tailwind
colors: {
  custom: {
    50: '#aa6857',
    500: '#7e2b1a',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b1a;
$custom-light: #aa6857;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b1a",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 26
  },
  "hsl": {
    "h": 10.2,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40994,
    "c": 0.11883,
    "h": 33.4
  },
  "luminance": 0.06238
}

Semantic roles & 50–950 ramp

primary
#7E2B1A
secondary
#429FB2
accent
#CCE93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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