#7E331D#7E331D

#7E331D is a dark, moderate red. Relative luminance 0.069; OKLCH L 42.2% C 0.110 H 36.9°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#7E331D
RGBrgb(126, 51, 29)
HSLhsl(14, 63%, 30%)
HSVhsv(14, 77%, 49%)
CMYKcmyk(0%, 59.5%, 77%, 50.6%)
CIE-LABlab(31.56, 31.12, 29.54)
CIE-LCHlch(31.56, 42.90, 43.51°)
OKLaboklab(42.18% 0.0879 0.0661)
OKLCHoklch(42.18% 0.11 36.9)
XYZxyz(10.0108, 6.8933, 1.9655)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E331D #1D687E
analogous
#7E1D37 #7E331D #7E631D
triadic
#7E331D #1D7E33 #331D7E
tetradic
#7E331D #377E1D #1D687E #631D7E
square
#7E331D #377E1D #1D687E #631D7E
split-complementary
#7E331D #1D7E63 #1D377E
monochromatic
#1B0B06 #4C1F12 #7E331D #B04728 #D36342

Accessibility & contrast

On white

8.83
#7E331D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7E331D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E331D
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E331D#FFFFFF#000000##FFFFFF
##7E331D1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48401A
Deuteranopia (green-blind)
#5A511B
Tritanopia (blue-blind)
#8B222E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e331d;
/* rgb */ color: rgb(126, 51, 29);
/* oklch */ color: oklch(42.2% 0.110 36.9);
Tailwind
colors: {
  custom: {
    50: '#aa6d5a',
    500: '#7e331d',
    950: '#000000',
  },
}
SCSS
$custom: #7e331d;
$custom-light: #aa6d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e331d",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 29
  },
  "hsl": {
    "h": 13.608,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42179,
    "c": 0.10991,
    "h": 36.9
  },
  "luminance": 0.06892
}

Semantic roles & 50–950 ramp

primary
#7E331D
secondary
#4599B1
accent
#C1E642
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E331D

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

Preview Lab → · Contrast checker → · Palette generator →

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