#7E421B#7E421B

#7E421B is a dark, moderate orange. Relative luminance 0.084; OKLCH L 44.7% C 0.097 H 50.5°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7E421B
RGBrgb(126, 66, 27)
HSLhsl(24, 65%, 30%)
HSVhsv(24, 79%, 49%)
CMYKcmyk(0%, 47.6%, 78.6%, 50.6%)
CIE-LABlab(34.83, 22.73, 34.05)
CIE-LCHlch(34.83, 40.94, 56.28°)
OKLaboklab(44.66% 0.0619 0.0752)
OKLCHoklch(44.66% 0.097 50.5)
XYZxyz(10.7512, 8.4124, 2.0943)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E421B #1B577E
analogous
#7E1B26 #7E421B #7E731B
triadic
#7E421B #1B7E42 #421B7E
tetradic
#7E421B #267E1B #1B577E #731B7E
square
#7E421B #267E1B #1B577E #731B7E
split-complementary
#7E421B #1B7E73 #1B267E
monochromatic
#190D05 #4C2810 #7E421B #B05C26 #D67A3E

Accessibility & contrast

On white

7.83
#7E421B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7E421B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E421B
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E421B#FFFFFF#000000##FFFFFF
##7E421B1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A16
Deuteranopia (green-blind)
#62571A
Tritanopia (blue-blind)
#8A353A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7e421b;
/* rgb */ color: rgb(126, 66, 27);
/* oklch */ color: oklch(44.7% 0.097 50.5);
Tailwind
colors: {
  custom: {
    50: '#a9775a',
    500: '#7e421b',
    950: '#000000',
  },
}
SCSS
$custom: #7e421b;
$custom-light: #a9775a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e421b",
  "rgb": {
    "r": 126,
    "g": 66,
    "b": 27
  },
  "hsl": {
    "h": 23.636,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.44662,
    "c": 0.09744,
    "h": 50.5
  },
  "luminance": 0.08411
}

Semantic roles & 50–950 ramp

primary
#7E421B
secondary
#4386B2
accent
#A6E840
background
#FBF7F5
surface
#F6EDE9
border
#D0C8C5
text
#110804
muted
#807B79

Preview Lab

Preview with #7E421B

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

Preview Lab → · Contrast checker → · Palette generator →

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