#7E421F#7E421F

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

Color values

HEX#7E421F
RGBrgb(126, 66, 31)
HSLhsl(22, 61%, 31%)
HSVhsv(22, 75%, 49%)
CMYKcmyk(0%, 47.6%, 75.4%, 50.6%)
CIE-LABlab(34.87, 22.93, 31.98)
CIE-LCHlch(34.87, 39.35, 54.36°)
OKLaboklab(44.71% 0.0632 0.0718)
OKLCHoklch(44.71% 0.096 48.6)
XYZxyz(10.8007, 8.4322, 2.3549)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E421F #1F5B7E
analogous
#7E1F2B #7E421F #7E711F
triadic
#7E421F #1F7E42 #421F7E
tetradic
#7E421F #2B7E1F #1F5B7E #711F7E
square
#7E421F #2B7E1F #1F5B7E #711F7E
split-complementary
#7E421F #1F7E71 #1F2B7E
monochromatic
#1C0F07 #4D2813 #7E421F #AF5C2B #D17946

Accessibility & contrast

On white

7.82
#7E421F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7E421F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E421F
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E421F#FFFFFF#000000##FFFFFF
##7E421F1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1B
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#8A363A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7e421f;
/* rgb */ color: rgb(126, 66, 31);
/* oklch */ color: oklch(44.7% 0.096 48.6);
Tailwind
colors: {
  custom: {
    50: '#a9775c',
    500: '#7e421f',
    950: '#000000',
  },
}
SCSS
$custom: #7e421f;
$custom-light: #a9775c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e421f",
  "rgb": {
    "r": 126,
    "g": 66,
    "b": 31
  },
  "hsl": {
    "h": 22.105,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44706,
    "c": 0.09564,
    "h": 48.6
  },
  "luminance": 0.08431
}

Semantic roles & 50–950 ramp

primary
#7E421F
secondary
#488AB1
accent
#A9E444
background
#FAF7F5
surface
#F5EDE9
border
#CFC8C5
text
#110804
muted
#807B79

Preview Lab

Preview with #7E421F

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

Preview Lab → · Contrast checker → · Palette generator →

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