#7E331E#7E331E

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

Color values

HEX#7E331E
RGBrgb(126, 51, 30)
HSLhsl(13, 62%, 31%)
HSVhsv(13, 76%, 49%)
CMYKcmyk(0%, 59.5%, 76.2%, 50.6%)
CIE-LABlab(31.57, 31.17, 28.98)
CIE-LCHlch(31.57, 42.56, 42.92°)
OKLaboklab(42.19% 0.0882 0.0651)
OKLCHoklch(42.19% 0.11 36.4)
XYZxyz(10.0234, 6.8983, 2.0317)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E331E #1E697E
analogous
#7E1E39 #7E331E #7E631E
triadic
#7E331E #1E7E33 #331E7E
tetradic
#7E331E #397E1E #1E697E #631E7E
square
#7E331E #397E1E #1E697E #631E7E
split-complementary
#7E331E #1E7E63 #1E397E
monochromatic
#1B0B06 #4D1F12 #7E331E #AF472A #D26344

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E331E#FFFFFF#000000##FFFFFF
##7E331E1.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)
#48401B
Deuteranopia (green-blind)
#5A511C
Tritanopia (blue-blind)
#8B222E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e331e;
/* rgb */ color: rgb(126, 51, 30);
/* oklch */ color: oklch(42.2% 0.110 36.4);
Tailwind
colors: {
  custom: {
    50: '#aa6d5b',
    500: '#7e331e',
    950: '#000000',
  },
}
SCSS
$custom: #7e331e;
$custom-light: #aa6d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e331e",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 30
  },
  "hsl": {
    "h": 13.125,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42191,
    "c": 0.10961,
    "h": 36.4
  },
  "luminance": 0.06897
}

Semantic roles & 50–950 ramp

primary
#7E331E
secondary
#479AB1
accent
#C1E543
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E331E

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

Preview Lab → · Contrast checker → · Palette generator →

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