#7E371B#7E371B

#7E371B is a dark, moderate orange. Relative luminance 0.072; OKLCH L 42.8% C 0.107 H 40.9°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#7E371B
RGBrgb(126, 55, 27)
HSLhsl(17, 65%, 30%)
HSVhsv(17, 79%, 49%)
CMYKcmyk(0%, 56.3%, 78.6%, 50.6%)
CIE-LABlab(32.37, 28.89, 31.51)
CIE-LCHlch(32.37, 42.75, 47.48°)
OKLaboklab(42.78% 0.0806 0.0698)
OKLCHoklch(42.78% 0.107 40.9)
XYZxyz(10.1692, 7.2484, 1.9003)
Luminance0.0725 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E371B #1B627E
analogous
#7E1B30 #7E371B #7E691B
triadic
#7E371B #1B7E37 #371B7E
tetradic
#7E371B #307E1B #1B627E #691B7E
square
#7E371B #307E1B #1B627E #691B7E
split-complementary
#7E371B #1B7E69 #1B307E
monochromatic
#190B05 #4C2110 #7E371B #B04D26 #D6693E

Accessibility & contrast

On white

8.57
#7E371B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E371B
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E371B#FFFFFF#000000##FFFFFF
##7E371B1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4218
Deuteranopia (green-blind)
#5C5219
Tritanopia (blue-blind)
#8B2831
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e371b;
/* rgb */ color: rgb(126, 55, 27);
/* oklch */ color: oklch(42.8% 0.107 40.9);
Tailwind
colors: {
  custom: {
    50: '#a97059',
    500: '#7e371b',
    950: '#000000',
  },
}
SCSS
$custom: #7e371b;
$custom-light: #a97059;
$custom-dark: #000000;
JSON
{
  "hex": "#7e371b",
  "rgb": {
    "r": 126,
    "g": 55,
    "b": 27
  },
  "hsl": {
    "h": 16.97,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.42781,
    "c": 0.10665,
    "h": 40.9
  },
  "luminance": 0.07247
}

Semantic roles & 50–950 ramp

primary
#7E371B
secondary
#4392B2
accent
#B8E840
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E371B

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

Preview Lab → · Contrast checker → · Palette generator →

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