#7E331A#7E331A

#7E331A is a dark, moderate orange. Relative luminance 0.069; OKLCH L 42.1% C 0.111 H 38.4°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#7E331A
RGBrgb(126, 51, 26)
HSLhsl(15, 66%, 30%)
HSVhsv(15, 79%, 49%)
CMYKcmyk(0%, 59.5%, 79.4%, 50.6%)
CIE-LABlab(31.53, 30.98, 31.19)
CIE-LCHlch(31.53, 43.96, 45.20°)
OKLaboklab(42.14% 0.0868 0.0688)
OKLCHoklch(42.14% 0.111 38.4)
XYZxyz(9.9755, 6.8792, 1.7796)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E331A #1A657E
analogous
#7E1A33 #7E331A #7E651A
triadic
#7E331A #1A7E33 #331A7E
tetradic
#7E331A #337E1A #1A657E #651A7E
square
#7E331A #337E1A #1A657E #651A7E
split-complementary
#7E331A #1A7E65 #1A337E
monochromatic
#190A05 #4B1E10 #7E331A #B14824 #D7623C

Accessibility & contrast

On white

8.84
#7E331A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7E331A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E331A
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E331A#FFFFFF#000000##FFFFFF
##7E331A1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484017
Deuteranopia (green-blind)
#5A5018
Tritanopia (blue-blind)
#8B222E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e331a;
/* rgb */ color: rgb(126, 51, 26);
/* oklch */ color: oklch(42.1% 0.111 38.4);
Tailwind
colors: {
  custom: {
    50: '#aa6d58',
    500: '#7e331a',
    950: '#000000',
  },
}
SCSS
$custom: #7e331a;
$custom-light: #aa6d58;
$custom-dark: #000000;
JSON
{
  "hex": "#7e331a",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 26
  },
  "hsl": {
    "h": 15,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42144,
    "c": 0.11081,
    "h": 38.4
  },
  "luminance": 0.06878
}

Semantic roles & 50–950 ramp

primary
#7E331A
secondary
#4296B2
accent
#BEE93F
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E331A

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

Preview Lab → · Contrast checker → · Palette generator →

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