#7F401D#7F401D

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

Color values

HEX#7F401D
RGBrgb(127, 64, 29)
HSLhsl(21, 63%, 31%)
HSVhsv(21, 77%, 50%)
CMYKcmyk(0%, 49.6%, 77.2%, 50.2%)
CIE-LABlab(34.54, 24.41, 32.75)
CIE-LCHlch(34.54, 40.85, 53.30°)
OKLaboklab(44.48% 0.0673 0.0729)
OKLCHoklch(44.48% 0.099 47.3)
XYZxyz(10.8086, 8.2688, 2.1890)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F401D #1D5C7F
analogous
#7F1D2B #7F401D #7F711D
triadic
#7F401D #1D7F40 #401D7F
tetradic
#7F401D #2B7F1D #1D5C7F #711D7F
square
#7F401D #2B7F1D #1D5C7F #711D7F
split-complementary
#7F401D #1D7F71 #1D2B7F
monochromatic
#1B0E06 #4D2712 #7F401D #B15928 #D47642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F401D#FFFFFF#000000##FFFFFF
##7F401D1.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)
#524919
Deuteranopia (green-blind)
#61571C
Tritanopia (blue-blind)
#8C3338
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7f401d;
/* rgb */ color: rgb(127, 64, 29);
/* oklch */ color: oklch(44.5% 0.099 47.3);
Tailwind
colors: {
  custom: {
    50: '#aa765b',
    500: '#7f401d',
    950: '#000000',
  },
}
SCSS
$custom: #7f401d;
$custom-light: #aa765b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f401d",
  "rgb": {
    "r": 127,
    "g": 64,
    "b": 29
  },
  "hsl": {
    "h": 21.429,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.44477,
    "c": 0.09919,
    "h": 47.3
  },
  "luminance": 0.08268
}

Semantic roles & 50–950 ramp

primary
#7F401D
secondary
#458BB2
accent
#ABE642
background
#FBF7F5
surface
#F6EDE9
border
#D0C8C5
text
#110804
muted
#807B79

Preview Lab

Preview with #7F401D

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

Preview Lab → · Contrast checker → · Palette generator →

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