#87401B#87401B

#87401B is a mid, moderate orange. Relative luminance 0.089; OKLCH L 45.7% C 0.109 H 45.5°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#87401B
RGBrgb(135, 64, 27)
HSLhsl(21, 67%, 32%)
HSVhsv(21, 80%, 53%)
CMYKcmyk(0%, 52.6%, 80%, 47.1%)
CIE-LABlab(35.79, 27.78, 35.48)
CIE-LCHlch(35.79, 45.06, 51.94°)
OKLaboklab(45.68% 0.0764 0.0777)
OKLCHoklch(45.68% 0.109 45.5)
XYZxyz(12.0241, 8.8983, 2.1211)
Luminance0.0890 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87401B #1B6287
analogous
#871B2C #87401B #87761B
triadic
#87401B #1B8740 #401B87
tetradic
#87401B #2C871B #1B6287 #761B87
square
#87401B #2C871B #1B6287 #761B87
split-complementary
#87401B #1B8776 #1B2C87
monochromatic
#211007 #542811 #87401B #BA5825 #D97743

Accessibility & contrast

On white

7.56
#87401B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#87401B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87401B
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87401B#FFFFFF#000000##FFFFFF
##87401B1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A16
Deuteranopia (green-blind)
#655A19
Tritanopia (blue-blind)
#943138
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #87401b;
/* rgb */ color: rgb(135, 64, 27);
/* oklch */ color: oklch(45.7% 0.109 45.5);
Tailwind
colors: {
  custom: {
    50: '#b0765a',
    500: '#87401b',
    950: '#000000',
  },
}
SCSS
$custom: #87401b;
$custom-light: #b0765a;
$custom-dark: #000000;
JSON
{
  "hex": "#87401b",
  "rgb": {
    "r": 135,
    "g": 64,
    "b": 27
  },
  "hsl": {
    "h": 20.556,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45684,
    "c": 0.10897,
    "h": 45.5
  },
  "luminance": 0.08897
}

Semantic roles & 50–950 ramp

primary
#87401B
secondary
#4492BA
accent
#AFEA3E
background
#FBF7F5
surface
#F6EDE9
border
#D0C8C5
text
#120804
muted
#817B79

Preview Lab

Preview with #87401B

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

Preview Lab → · Contrast checker → · Palette generator →

#87401B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva