#7F401E#7F401E

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

Color values

HEX#7F401E
RGBrgb(127, 64, 30)
HSLhsl(21, 62%, 31%)
HSVhsv(21, 76%, 50%)
CMYKcmyk(0%, 49.6%, 76.4%, 50.2%)
CIE-LABlab(34.55, 24.46, 32.22)
CIE-LCHlch(34.55, 40.46, 52.80°)
OKLaboklab(44.49% 0.0676 0.072)
OKLCHoklch(44.49% 0.099 46.8)
XYZxyz(10.8211, 8.2738, 2.2552)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F401E #1E5D7F
analogous
#7F1E2C #7F401E #7F701E
triadic
#7F401E #1E7F40 #401E7F
tetradic
#7F401E #2C7F1E #1E5D7F #701E7F
square
#7F401E #2C7F1E #1E5D7F #701E7F
split-complementary
#7F401E #1E7F70 #1E2C7F
monochromatic
#1C0E07 #4D2712 #7F401E #B1592A #D37644

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F401E#FFFFFF#000000##FFFFFF
##7F401E1.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)
#52491A
Deuteranopia (green-blind)
#61571D
Tritanopia (blue-blind)
#8B3339
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7f401e;
/* rgb */ color: rgb(127, 64, 30);
/* oklch */ color: oklch(44.5% 0.099 46.8);
Tailwind
colors: {
  custom: {
    50: '#aa765c',
    500: '#7f401e',
    950: '#000000',
  },
}
SCSS
$custom: #7f401e;
$custom-light: #aa765c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f401e",
  "rgb": {
    "r": 127,
    "g": 64,
    "b": 30
  },
  "hsl": {
    "h": 21.031,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44488,
    "c": 0.09877,
    "h": 46.8
  },
  "luminance": 0.08273
}

Semantic roles & 50–950 ramp

primary
#7F401E
secondary
#478CB2
accent
#ACE543
background
#FBF7F5
surface
#F6EDE9
border
#D0C8C5
text
#110804
muted
#807B79

Preview Lab

Preview with #7F401E

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

Preview Lab → · Contrast checker → · Palette generator →

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