#7E402A#7E402A

#7E402A is a dark, moderate orange. Relative luminance 0.083; OKLCH L 44.5% C 0.092 H 40.0°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#7E402A
RGBrgb(126, 64, 42)
HSLhsl(16, 50%, 33%)
HSVhsv(16, 67%, 49%)
CMYKcmyk(0%, 49.2%, 66.7%, 50.6%)
CIE-LABlab(34.54, 24.75, 25.32)
CIE-LCHlch(34.54, 35.41, 45.66°)
OKLaboklab(44.5% 0.0708 0.0593)
OKLCHoklch(44.5% 0.092 40)
XYZxyz(10.8564, 8.2708, 3.2147)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E402A #2A687E
analogous
#7E2A3E #7E402A #7E6A2A
triadic
#7E402A #2A7E40 #402A7E
tetradic
#7E402A #3E7E2A #2A687E #6A2A7E
square
#7E402A #3E7E2A #2A687E #6A2A7E
split-complementary
#7E402A #2A7E6A #2A3E7E
monochromatic
#22110B #50291B #7E402A #AC5739 #C8775A

Accessibility & contrast

On white

7.91
#7E402A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7E402A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E402A
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E402A#FFFFFF#000000##FFFFFF
##7E402A1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504928
Deuteranopia (green-blind)
#5F5629
Tritanopia (blue-blind)
#8A343B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7e402a;
/* rgb */ color: rgb(126, 64, 42);
/* oklch */ color: oklch(44.5% 0.092 40.0);
Tailwind
colors: {
  custom: {
    50: '#a87664',
    500: '#7e402a',
    950: '#000000',
  },
}
SCSS
$custom: #7e402a;
$custom-light: #a87664;
$custom-dark: #000000;
JSON
{
  "hex": "#7e402a",
  "rgb": {
    "r": 126,
    "g": 64,
    "b": 42
  },
  "hsl": {
    "h": 15.714,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.445,
    "c": 0.09237,
    "h": 40
  },
  "luminance": 0.0827
}

Semantic roles & 50–950 ramp

primary
#7E402A
secondary
#5697AE
accent
#B5DA4E
background
#FAF7F6
surface
#F4EDEB
border
#CEC8C6
text
#100805
muted
#7F7B7A

Preview Lab

Preview with #7E402A

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

Preview Lab → · Contrast checker → · Palette generator →

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