#7E311B#7E311B

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

Color values

HEX#7E311B
RGBrgb(126, 49, 27)
HSLhsl(13, 65%, 30%)
HSVhsv(13, 79%, 49%)
CMYKcmyk(0%, 61.1%, 78.6%, 50.6%)
CIE-LABlab(31.14, 32.06, 30.23)
CIE-LCHlch(31.14, 44.06, 43.32°)
OKLaboklab(41.85% 0.0904 0.067)
OKLCHoklch(41.85% 0.113 36.6)
XYZxyz(9.9014, 6.7127, 1.8110)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E311B #1B687E
analogous
#7E1B37 #7E311B #7E621B
triadic
#7E311B #1B7E31 #311B7E
tetradic
#7E311B #377E1B #1B687E #621B7E
square
#7E311B #377E1B #1B687E #621B7E
split-complementary
#7E311B #1B7E62 #1B377E
monochromatic
#190A05 #4C1D10 #7E311B #B04526 #D6603E

Accessibility & contrast

On white

8.97
#7E311B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E311B
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E311B#FFFFFF#000000##FFFFFF
##7E311B1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463F18
Deuteranopia (green-blind)
#595019
Tritanopia (blue-blind)
#8B1F2C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e311b;
/* rgb */ color: rgb(126, 49, 27);
/* oklch */ color: oklch(41.9% 0.113 36.6);
Tailwind
colors: {
  custom: {
    50: '#aa6c58',
    500: '#7e311b',
    950: '#000000',
  },
}
SCSS
$custom: #7e311b;
$custom-light: #aa6c58;
$custom-dark: #000000;
JSON
{
  "hex": "#7e311b",
  "rgb": {
    "r": 126,
    "g": 49,
    "b": 27
  },
  "hsl": {
    "h": 13.333,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.41854,
    "c": 0.1125,
    "h": 36.6
  },
  "luminance": 0.06711
}

Semantic roles & 50–950 ramp

primary
#7E311B
secondary
#4399B2
accent
#C2E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E311B

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

Preview Lab → · Contrast checker → · Palette generator →

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