#7E371F#7E371F

#7E371F is a dark, moderate orange. Relative luminance 0.073; OKLCH L 42.8% C 0.105 H 38.8°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#7E371F
RGBrgb(126, 55, 31)
HSLhsl(15, 61%, 31%)
HSVhsv(15, 75%, 49%)
CMYKcmyk(0%, 56.3%, 75.4%, 50.6%)
CIE-LABlab(32.41, 29.09, 29.32)
CIE-LCHlch(32.41, 41.30, 45.22°)
OKLaboklab(42.83% 0.082 0.066)
OKLCHoklch(42.83% 0.105 38.8)
XYZxyz(10.2187, 7.2682, 2.1609)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E371F #1F667E
analogous
#7E1F36 #7E371F #7E661F
triadic
#7E371F #1F7E37 #371F7E
tetradic
#7E371F #367E1F #1F667E #661F7E
square
#7E371F #367E1F #1F667E #661F7E
split-complementary
#7E371F #1F7E66 #1F367E
monochromatic
#1C0C07 #4D2213 #7E371F #AF4C2B #D16946

Accessibility & contrast

On white

8.56
#7E371F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7E371F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E371F
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E371F#FFFFFF#000000##FFFFFF
##7E371F1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A421C
Deuteranopia (green-blind)
#5C521D
Tritanopia (blue-blind)
#8B2832
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e371f;
/* rgb */ color: rgb(126, 55, 31);
/* oklch */ color: oklch(42.8% 0.105 38.8);
Tailwind
colors: {
  custom: {
    50: '#a9705c',
    500: '#7e371f',
    950: '#000000',
  },
}
SCSS
$custom: #7e371f;
$custom-light: #a9705c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e371f",
  "rgb": {
    "r": 126,
    "g": 55,
    "b": 31
  },
  "hsl": {
    "h": 15.158,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42829,
    "c": 0.10529,
    "h": 38.8
  },
  "luminance": 0.07267
}

Semantic roles & 50–950 ramp

primary
#7E371F
secondary
#4896B1
accent
#BBE444
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E371F

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

Preview Lab → · Contrast checker → · Palette generator →

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