#7E311D#7E311D

#7E311D is a dark, moderate red. Relative luminance 0.067; OKLCH L 41.9% C 0.112 H 35.6°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#7E311D
RGBrgb(126, 49, 29)
HSLhsl(12, 63%, 30%)
HSVhsv(12, 77%, 49%)
CMYKcmyk(0%, 61.1%, 77%, 50.6%)
CIE-LABlab(31.17, 32.15, 29.11)
CIE-LCHlch(31.17, 43.37, 42.16°)
OKLaboklab(41.88% 0.091 0.0651)
OKLCHoklch(41.88% 0.112 35.6)
XYZxyz(9.9253, 6.7223, 1.9370)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E311D #1D6A7E
analogous
#7E1D39 #7E311D #7E611D
triadic
#7E311D #1D7E31 #311D7E
tetradic
#7E311D #397E1D #1D6A7E #611D7E
square
#7E311D #397E1D #1D6A7E #611D7E
split-complementary
#7E311D #1D7E61 #1D397E
monochromatic
#1B0A06 #4C1E12 #7E311D #B04428 #D36042

Accessibility & contrast

On white

8.96
#7E311D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7E311D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E311D
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E311D#FFFFFF#000000##FFFFFF
##7E311D1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463F1A
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#8B1F2D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e311d;
/* rgb */ color: rgb(126, 49, 29);
/* oklch */ color: oklch(41.9% 0.112 35.6);
Tailwind
colors: {
  custom: {
    50: '#aa6c5a',
    500: '#7e311d',
    950: '#000000',
  },
}
SCSS
$custom: #7e311d;
$custom-light: #aa6c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e311d",
  "rgb": {
    "r": 126,
    "g": 49,
    "b": 29
  },
  "hsl": {
    "h": 12.371,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41878,
    "c": 0.11193,
    "h": 35.6
  },
  "luminance": 0.06721
}

Semantic roles & 50–950 ramp

primary
#7E311D
secondary
#459BB1
accent
#C4E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E311D

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

Preview Lab → · Contrast checker → · Palette generator →

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