#7E381B#7E381B

#7E381B is a dark, moderate orange. Relative luminance 0.073; OKLCH L 42.9% C 0.106 H 41.7°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#7E381B
RGBrgb(126, 56, 27)
HSLhsl(18, 65%, 30%)
HSVhsv(18, 79%, 49%)
CMYKcmyk(0%, 55.6%, 78.6%, 50.6%)
CIE-LABlab(32.58, 28.35, 31.73)
CIE-LCHlch(32.58, 42.55, 48.22°)
OKLaboklab(42.94% 0.079 0.0703)
OKLCHoklch(42.94% 0.106 41.7)
XYZxyz(10.2172, 7.3444, 1.9163)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E381B #1B617E
analogous
#7E1B2F #7E381B #7E6A1B
triadic
#7E381B #1B7E38 #381B7E
tetradic
#7E381B #2F7E1B #1B617E #6A1B7E
square
#7E381B #2F7E1B #1B617E #6A1B7E
split-complementary
#7E381B #1B7E6A #1B2F7E
monochromatic
#190B05 #4C2210 #7E381B #B04E26 #D66A3E

Accessibility & contrast

On white

8.51
#7E381B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7E381B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E381B
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E381B#FFFFFF#000000##FFFFFF
##7E381B1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4317
Deuteranopia (green-blind)
#5C5319
Tritanopia (blue-blind)
#8B2932
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e381b;
/* rgb */ color: rgb(126, 56, 27);
/* oklch */ color: oklch(42.9% 0.106 41.7);
Tailwind
colors: {
  custom: {
    50: '#a97059',
    500: '#7e381b',
    950: '#000000',
  },
}
SCSS
$custom: #7e381b;
$custom-light: #a97059;
$custom-dark: #000000;
JSON
{
  "hex": "#7e381b",
  "rgb": {
    "r": 126,
    "g": 56,
    "b": 27
  },
  "hsl": {
    "h": 17.576,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.42943,
    "c": 0.1057,
    "h": 41.7
  },
  "luminance": 0.07343
}

Semantic roles & 50–950 ramp

primary
#7E381B
secondary
#4391B2
accent
#B7E840
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E381B

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

Preview Lab → · Contrast checker → · Palette generator →

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