#7E311E#7E311E

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

Color values

HEX#7E311E
RGBrgb(126, 49, 30)
HSLhsl(12, 62%, 31%)
HSVhsv(12, 76%, 49%)
CMYKcmyk(0%, 61.1%, 76.2%, 50.6%)
CIE-LABlab(31.18, 32.20, 28.54)
CIE-LCHlch(31.18, 43.03, 41.55°)
OKLaboklab(41.89% 0.0914 0.0641)
OKLCHoklch(41.89% 0.112 35.1)
XYZxyz(9.9379, 6.7273, 2.0032)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E311E #1E6B7E
analogous
#7E1E3B #7E311E #7E611E
triadic
#7E311E #1E7E31 #311E7E
tetradic
#7E311E #3B7E1E #1E6B7E #611E7E
square
#7E311E #3B7E1E #1E6B7E #611E7E
split-complementary
#7E311E #1E7E61 #1E3B7E
monochromatic
#1B0B06 #4D1E12 #7E311E #AF442A #D26044

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E311E#FFFFFF#000000##FFFFFF
##7E311E1.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)
#463F1C
Deuteranopia (green-blind)
#59501C
Tritanopia (blue-blind)
#8B202D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e311e;
/* rgb */ color: rgb(126, 49, 30);
/* oklch */ color: oklch(41.9% 0.112 35.1);
Tailwind
colors: {
  custom: {
    50: '#aa6c5b',
    500: '#7e311e',
    950: '#000000',
  },
}
SCSS
$custom: #7e311e;
$custom-light: #aa6c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e311e",
  "rgb": {
    "r": 126,
    "g": 49,
    "b": 30
  },
  "hsl": {
    "h": 11.875,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41891,
    "c": 0.11166,
    "h": 35.1
  },
  "luminance": 0.06726
}

Semantic roles & 50–950 ramp

primary
#7E311E
secondary
#479CB1
accent
#C5E543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E311E

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

Preview Lab → · Contrast checker → · Palette generator →

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