#7F401C#7F401C

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

Color values

HEX#7F401C
RGBrgb(127, 64, 28)
HSLhsl(22, 64%, 30%)
HSVhsv(22, 78%, 50%)
CMYKcmyk(0%, 49.6%, 78%, 50.2%)
CIE-LABlab(34.53, 24.36, 33.27)
CIE-LCHlch(34.53, 41.23, 53.78°)
OKLaboklab(44.47% 0.0669 0.0738)
OKLCHoklch(44.47% 0.1 47.8)
XYZxyz(10.7964, 8.2639, 2.1249)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F401C #1C5B7F
analogous
#7F1C2A #7F401C #7F711C
triadic
#7F401C #1C7F40 #401C7F
tetradic
#7F401C #2A7F1C #1C5B7F #711C7F
square
#7F401C #2A7F1C #1C5B7F #711C7F
split-complementary
#7F401C #1C7F71 #1C2A7F
monochromatic
#1B0D06 #4D2711 #7F401C #B15927 #D57640

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F401C#FFFFFF#000000##FFFFFF
##7F401C1.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)
#524918
Deuteranopia (green-blind)
#61571B
Tritanopia (blue-blind)
#8C3338
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7f401c;
/* rgb */ color: rgb(127, 64, 28);
/* oklch */ color: oklch(44.5% 0.100 47.8);
Tailwind
colors: {
  custom: {
    50: '#aa765a',
    500: '#7f401c',
    950: '#000000',
  },
}
SCSS
$custom: #7f401c;
$custom-light: #aa765a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f401c",
  "rgb": {
    "r": 127,
    "g": 64,
    "b": 28
  },
  "hsl": {
    "h": 21.818,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.44466,
    "c": 0.09961,
    "h": 47.8
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#7F401C
secondary
#448AB3
accent
#ABE741
background
#FBF7F5
surface
#F6EDE9
border
#D0C8C5
text
#110804
muted
#807B79

Preview Lab

Preview with #7F401C

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

Preview Lab → · Contrast checker → · Palette generator →

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