#7E401C#7E401C

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

Color values

HEX#7E401C
RGBrgb(126, 64, 28)
HSLhsl(22, 64%, 30%)
HSVhsv(22, 78%, 49%)
CMYKcmyk(0%, 49.2%, 77.8%, 50.6%)
CIE-LABlab(34.37, 23.92, 33.06)
CIE-LCHlch(34.37, 40.81, 54.11°)
OKLaboklab(44.32% 0.0657 0.0734)
OKLCHoklch(44.32% 0.098 48.2)
XYZxyz(10.6482, 8.1875, 2.1180)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E401C #1C5A7E
analogous
#7E1C29 #7E401C #7E711C
triadic
#7E401C #1C7E40 #401C7E
tetradic
#7E401C #297E1C #1C5A7E #711C7E
square
#7E401C #297E1C #1C5A7E #711C7E
split-complementary
#7E401C #1C7E71 #1C297E
monochromatic
#1A0D06 #4C2711 #7E401C #B05927 #D57640

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E401C#FFFFFF#000000##FFFFFF
##7E401C1.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)
#524818
Deuteranopia (green-blind)
#60561B
Tritanopia (blue-blind)
#8A3338
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7e401c;
/* rgb */ color: rgb(126, 64, 28);
/* oklch */ color: oklch(44.3% 0.098 48.2);
Tailwind
colors: {
  custom: {
    50: '#a9765a',
    500: '#7e401c',
    950: '#000000',
  },
}
SCSS
$custom: #7e401c;
$custom-light: #a9765a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e401c",
  "rgb": {
    "r": 126,
    "g": 64,
    "b": 28
  },
  "hsl": {
    "h": 22.041,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.44315,
    "c": 0.09849,
    "h": 48.2
  },
  "luminance": 0.08186
}

Semantic roles & 50–950 ramp

primary
#7E401C
secondary
#4489B2
accent
#AAE741
background
#FBF7F5
surface
#F6EDE9
border
#D0C8C5
text
#110804
muted
#807B79

Preview Lab

Preview with #7E401C

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

Preview Lab → · Contrast checker → · Palette generator →

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