#7E311C#7E311C

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

Color values

HEX#7E311C
RGBrgb(126, 49, 28)
HSLhsl(13, 64%, 30%)
HSVhsv(13, 78%, 49%)
CMYKcmyk(0%, 61.1%, 77.8%, 50.6%)
CIE-LABlab(31.15, 32.10, 29.67)
CIE-LCHlch(31.15, 43.72, 42.75°)
OKLaboklab(41.87% 0.0907 0.0661)
OKLCHoklch(41.87% 0.112 36.1)
XYZxyz(9.9131, 6.7174, 1.8730)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E311C #1C697E
analogous
#7E1C38 #7E311C #7E621C
triadic
#7E311C #1C7E31 #311C7E
tetradic
#7E311C #387E1C #1C697E #621C7E
square
#7E311C #387E1C #1C697E #621C7E
split-complementary
#7E311C #1C7E62 #1C387E
monochromatic
#1A0A06 #4C1E11 #7E311C #B04427 #D56040

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E311C#FFFFFF#000000##FFFFFF
##7E311C1.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)
#463F19
Deuteranopia (green-blind)
#59501A
Tritanopia (blue-blind)
#8B1F2D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e311c;
/* rgb */ color: rgb(126, 49, 28);
/* oklch */ color: oklch(41.9% 0.112 36.1);
Tailwind
colors: {
  custom: {
    50: '#aa6c59',
    500: '#7e311c',
    950: '#000000',
  },
}
SCSS
$custom: #7e311c;
$custom-light: #aa6c59;
$custom-dark: #000000;
JSON
{
  "hex": "#7e311c",
  "rgb": {
    "r": 126,
    "g": 49,
    "b": 28
  },
  "hsl": {
    "h": 12.857,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41866,
    "c": 0.11222,
    "h": 36.1
  },
  "luminance": 0.06716
}

Semantic roles & 50–950 ramp

primary
#7E311C
secondary
#449AB2
accent
#C3E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E311C

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

Preview Lab → · Contrast checker → · Palette generator →

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