#7E311A#7E311A

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

Color values

HEX#7E311A
RGBrgb(126, 49, 26)
HSLhsl(14, 66%, 30%)
HSVhsv(14, 79%, 49%)
CMYKcmyk(0%, 61.1%, 79.4%, 50.6%)
CIE-LABlab(31.13, 32.01, 30.78)
CIE-LCHlch(31.13, 44.41, 43.88°)
OKLaboklab(41.84% 0.09 0.0679)
OKLCHoklch(41.84% 0.113 37)
XYZxyz(9.8900, 6.7082, 1.7511)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E311A #1A677E
analogous
#7E1A35 #7E311A #7E631A
triadic
#7E311A #1A7E31 #311A7E
tetradic
#7E311A #357E1A #1A677E #631A7E
square
#7E311A #357E1A #1A677E #631A7E
split-complementary
#7E311A #1A7E63 #1A357E
monochromatic
#190A05 #4B1D10 #7E311A #B14524 #D75F3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E311A#FFFFFF#000000##FFFFFF
##7E311A1.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)
#463F17
Deuteranopia (green-blind)
#595018
Tritanopia (blue-blind)
#8B1F2C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e311a;
/* rgb */ color: rgb(126, 49, 26);
/* oklch */ color: oklch(41.8% 0.113 37.0);
Tailwind
colors: {
  custom: {
    50: '#aa6c58',
    500: '#7e311a',
    950: '#000000',
  },
}
SCSS
$custom: #7e311a;
$custom-light: #aa6c58;
$custom-dark: #000000;
JSON
{
  "hex": "#7e311a",
  "rgb": {
    "r": 126,
    "g": 49,
    "b": 26
  },
  "hsl": {
    "h": 13.8,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41843,
    "c": 0.11278,
    "h": 37
  },
  "luminance": 0.06707
}

Semantic roles & 50–950 ramp

primary
#7E311A
secondary
#4298B2
accent
#C2E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E311A

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

Preview Lab → · Contrast checker → · Palette generator →

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