#7E331B#7E331B

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

Color values

HEX#7E331B
RGBrgb(126, 51, 27)
HSLhsl(15, 65%, 30%)
HSVhsv(15, 79%, 49%)
CMYKcmyk(0%, 59.5%, 78.6%, 50.6%)
CIE-LABlab(31.54, 31.02, 30.65)
CIE-LCHlch(31.54, 43.61, 44.65°)
OKLaboklab(42.16% 0.0872 0.0679)
OKLCHoklch(42.16% 0.111 37.9)
XYZxyz(9.9869, 6.8837, 1.8395)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E331B #1B667E
analogous
#7E1B35 #7E331B #7E641B
triadic
#7E331B #1B7E33 #331B7E
tetradic
#7E331B #357E1B #1B667E #641B7E
square
#7E331B #357E1B #1B667E #641B7E
split-complementary
#7E331B #1B7E64 #1B357E
monochromatic
#190A05 #4C1F10 #7E331B #B04726 #D6633E

Accessibility & contrast

On white

8.84
#7E331B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E331B
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E331B#FFFFFF#000000##FFFFFF
##7E331B1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484018
Deuteranopia (green-blind)
#5A5019
Tritanopia (blue-blind)
#8B222E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e331b;
/* rgb */ color: rgb(126, 51, 27);
/* oklch */ color: oklch(42.2% 0.111 37.9);
Tailwind
colors: {
  custom: {
    50: '#aa6d59',
    500: '#7e331b',
    950: '#000000',
  },
}
SCSS
$custom: #7e331b;
$custom-light: #aa6d59;
$custom-dark: #000000;
JSON
{
  "hex": "#7e331b",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 27
  },
  "hsl": {
    "h": 14.545,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.42155,
    "c": 0.11051,
    "h": 37.9
  },
  "luminance": 0.06882
}

Semantic roles & 50–950 ramp

primary
#7E331B
secondary
#4397B2
accent
#BFE840
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E331B

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

Preview Lab → · Contrast checker → · Palette generator →

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