#7E311F#7E311F

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

Color values

HEX#7E311F
RGBrgb(126, 49, 31)
HSLhsl(11, 61%, 31%)
HSVhsv(11, 75%, 49%)
CMYKcmyk(0%, 61.1%, 75.4%, 50.6%)
CIE-LABlab(31.19, 32.25, 27.97)
CIE-LCHlch(31.19, 42.69, 40.93°)
OKLaboklab(41.9% 0.0918 0.0631)
OKLCHoklch(41.9% 0.111 34.5)
XYZxyz(9.9508, 6.7325, 2.0716)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E311F #1F6C7E
analogous
#7E1F3C #7E311F #7E601F
triadic
#7E311F #1F7E31 #311F7E
tetradic
#7E311F #3C7E1F #1F6C7E #601F7E
square
#7E311F #3C7E1F #1F6C7E #601F7E
split-complementary
#7E311F #1F7E60 #1F3C7E
monochromatic
#1C0B07 #4D1E13 #7E311F #AF442B #D16046

Accessibility & contrast

On white

8.95
#7E311F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7E311F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E311F
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E311F#FFFFFF#000000##FFFFFF
##7E311F1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463F1D
Deuteranopia (green-blind)
#59501D
Tritanopia (blue-blind)
#8B202D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e311f;
/* rgb */ color: rgb(126, 49, 31);
/* oklch */ color: oklch(41.9% 0.111 34.5);
Tailwind
colors: {
  custom: {
    50: '#aa6c5b',
    500: '#7e311f',
    950: '#000000',
  },
}
SCSS
$custom: #7e311f;
$custom-light: #aa6c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e311f",
  "rgb": {
    "r": 126,
    "g": 49,
    "b": 31
  },
  "hsl": {
    "h": 11.368,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41904,
    "c": 0.11138,
    "h": 34.5
  },
  "luminance": 0.06731
}

Semantic roles & 50–950 ramp

primary
#7E311F
secondary
#489DB1
accent
#C5E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E311F

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

Preview Lab → · Contrast checker → · Palette generator →

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