#7E331F#7E331F

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

Color values

HEX#7E331F
RGBrgb(126, 51, 31)
HSLhsl(13, 61%, 31%)
HSVhsv(13, 75%, 49%)
CMYKcmyk(0%, 59.5%, 75.4%, 50.6%)
CIE-LABlab(31.59, 31.21, 28.41)
CIE-LCHlch(31.59, 42.21, 42.31°)
OKLaboklab(42.2% 0.0886 0.0641)
OKLCHoklch(42.2% 0.109 35.9)
XYZxyz(10.0363, 6.9035, 2.1001)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E331F #1F6A7E
analogous
#7E1F3A #7E331F #7E621F
triadic
#7E331F #1F7E33 #331F7E
tetradic
#7E331F #3A7E1F #1F6A7E #621F7E
square
#7E331F #3A7E1F #1F6A7E #621F7E
split-complementary
#7E331F #1F7E62 #1F3A7E
monochromatic
#1C0B07 #4D1F13 #7E331F #AF472B #D16346

Accessibility & contrast

On white

8.82
#7E331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E331F
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E331F#FFFFFF#000000##FFFFFF
##7E331F1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47401D
Deuteranopia (green-blind)
#5A511D
Tritanopia (blue-blind)
#8B232F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e331f;
/* rgb */ color: rgb(126, 51, 31);
/* oklch */ color: oklch(42.2% 0.109 35.9);
Tailwind
colors: {
  custom: {
    50: '#a96d5b',
    500: '#7e331f',
    950: '#000000',
  },
}
SCSS
$custom: #7e331f;
$custom-light: #a96d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e331f",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 12.632,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42204,
    "c": 0.10931,
    "h": 35.9
  },
  "luminance": 0.06902
}

Semantic roles & 50–950 ramp

primary
#7E331F
secondary
#489BB1
accent
#C2E444
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E331F

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

Preview Lab → · Contrast checker → · Palette generator →

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