#7F401B#7F401B

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

Color values

HEX#7F401B
RGBrgb(127, 64, 27)
HSLhsl(22, 65%, 30%)
HSVhsv(22, 79%, 50%)
CMYKcmyk(0%, 49.6%, 78.7%, 50.2%)
CIE-LABlab(34.52, 24.32, 33.78)
CIE-LCHlch(34.52, 41.62, 54.25°)
OKLaboklab(44.46% 0.0666 0.0746)
OKLCHoklch(44.46% 0.1 48.2)
XYZxyz(10.7846, 8.2592, 2.0630)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F401B #1B5A7F
analogous
#7F1B28 #7F401B #7F721B
triadic
#7F401B #1B7F40 #401B7F
tetradic
#7F401B #287F1B #1B5A7F #721B7F
square
#7F401B #287F1B #1B5A7F #721B7F
split-complementary
#7F401B #1B7F72 #1B287F
monochromatic
#1A0D06 #4D2710 #7F401B #B15926 #D6763E

Accessibility & contrast

On white

7.92
#7F401B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F401B
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F401B#FFFFFF#000000##FFFFFF
##7F401B1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524816
Deuteranopia (green-blind)
#61571A
Tritanopia (blue-blind)
#8C3338
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7f401b;
/* rgb */ color: rgb(127, 64, 27);
/* oklch */ color: oklch(44.5% 0.100 48.2);
Tailwind
colors: {
  custom: {
    50: '#aa765a',
    500: '#7f401b',
    950: '#000000',
  },
}
SCSS
$custom: #7f401b;
$custom-light: #aa765a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f401b",
  "rgb": {
    "r": 127,
    "g": 64,
    "b": 27
  },
  "hsl": {
    "h": 22.2,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.44456,
    "c": 0.10002,
    "h": 48.2
  },
  "luminance": 0.08258
}

Semantic roles & 50–950 ramp

primary
#7F401B
secondary
#4389B3
accent
#AAE840
background
#FBF7F5
surface
#F6EDE9
border
#D0C8C5
text
#110804
muted
#807B79

Preview Lab

Preview with #7F401B

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

Preview Lab → · Contrast checker → · Palette generator →

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