#7F401F#7F401F

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

Color values

HEX#7F401F
RGBrgb(127, 64, 31)
HSLhsl(21, 61%, 31%)
HSVhsv(21, 76%, 50%)
CMYKcmyk(0%, 49.6%, 75.6%, 50.2%)
CIE-LABlab(34.56, 24.51, 31.69)
CIE-LCHlch(34.56, 40.07, 52.28°)
OKLaboklab(44.5% 0.0679 0.0711)
OKLCHoklch(44.5% 0.098 46.3)
XYZxyz(10.8341, 8.2790, 2.3235)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F401F #1F5E7F
analogous
#7F1F2E #7F401F #7F701F
triadic
#7F401F #1F7F40 #401F7F
tetradic
#7F401F #2E7F1F #1F5E7F #701F7F
square
#7F401F #2E7F1F #1F5E7F #701F7F
split-complementary
#7F401F #1F7F70 #1F2E7F
monochromatic
#1D0E07 #4E2713 #7F401F #B0592B #D27646

Accessibility & contrast

On white

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

On black

2.66
#7F401F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7F401F#FFFFFF#000000##FFFFFF
##7F401F1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491B
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#8B3339
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7f401f;
/* rgb */ color: rgb(127, 64, 31);
/* oklch */ color: oklch(44.5% 0.098 46.3);
Tailwind
colors: {
  custom: {
    50: '#a9765c',
    500: '#7f401f',
    950: '#000000',
  },
}
SCSS
$custom: #7f401f;
$custom-light: #a9765c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f401f",
  "rgb": {
    "r": 127,
    "g": 64,
    "b": 31
  },
  "hsl": {
    "h": 20.625,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.445,
    "c": 0.09833,
    "h": 46.3
  },
  "luminance": 0.08278
}

Semantic roles & 50–950 ramp

primary
#7F401F
secondary
#488DB2
accent
#ADE444
background
#FBF7F5
surface
#F6EDE9
border
#D0C8C5
text
#110804
muted
#807B79

Preview Lab

Preview with #7F401F

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

Preview Lab → · Contrast checker → · Palette generator →

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