#7E401E#7E401E

#7E401E is a dark, moderate orange. Relative luminance 0.082; OKLCH L 44.3% C 0.098 H 47.2°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#7E401E
RGBrgb(126, 64, 30)
HSLhsl(21, 62%, 31%)
HSVhsv(21, 76%, 49%)
CMYKcmyk(0%, 49.2%, 76.2%, 50.6%)
CIE-LABlab(34.39, 24.02, 32.01)
CIE-LCHlch(34.39, 40.02, 53.12°)
OKLaboklab(44.34% 0.0664 0.0716)
OKLCHoklch(44.34% 0.098 47.2)
XYZxyz(10.6729, 8.1974, 2.2483)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E401E #1E5C7E
analogous
#7E1E2C #7E401E #7E701E
triadic
#7E401E #1E7E40 #401E7E
tetradic
#7E401E #2C7E1E #1E5C7E #701E7E
square
#7E401E #2C7E1E #1E5C7E #701E7E
split-complementary
#7E401E #1E7E70 #1E2C7E
monochromatic
#1B0E06 #4D2712 #7E401E #AF592A #D27644

Accessibility & contrast

On white

7.96
#7E401E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7E401E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E401E
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E401E#FFFFFF#000000##FFFFFF
##7E401E1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51481A
Deuteranopia (green-blind)
#60561D
Tritanopia (blue-blind)
#8A3339
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7e401e;
/* rgb */ color: rgb(126, 64, 30);
/* oklch */ color: oklch(44.3% 0.098 47.2);
Tailwind
colors: {
  custom: {
    50: '#a9765c',
    500: '#7e401e',
    950: '#000000',
  },
}
SCSS
$custom: #7e401e;
$custom-light: #a9765c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e401e",
  "rgb": {
    "r": 126,
    "g": 64,
    "b": 30
  },
  "hsl": {
    "h": 21.25,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.44337,
    "c": 0.09763,
    "h": 47.2
  },
  "luminance": 0.08196
}

Semantic roles & 50–950 ramp

primary
#7E401E
secondary
#478BB1
accent
#ABE543
background
#FBF7F5
surface
#F6EDE9
border
#D0C8C5
text
#110804
muted
#807B79

Preview Lab

Preview with #7E401E

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

Preview Lab → · Contrast checker → · Palette generator →

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