#87402B#87402B

#87402B is a mid, moderate red. Relative luminance 0.090; OKLCH L 45.9% C 0.103 H 37.3°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#87402B
RGBrgb(135, 64, 43)
HSLhsl(14, 52%, 35%)
HSVhsv(14, 68%, 53%)
CMYKcmyk(0%, 52.6%, 68.1%, 47.1%)
CIE-LABlab(35.97, 28.63, 26.78)
CIE-LCHlch(35.97, 39.20, 43.09°)
OKLaboklab(45.88% 0.082 0.0623)
OKLCHoklch(45.88% 0.103 37.3)
XYZxyz(12.2622, 8.9936, 3.3752)
Luminance0.0899 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87402B #2B7287
analogous
#872B44 #87402B #876E2B
triadic
#87402B #2B8740 #402B87
tetradic
#87402B #44872B #2B7287 #6E2B87
square
#87402B #44872B #2B7287 #6E2B87
split-complementary
#87402B #2B876E #2B4487
monochromatic
#2A140D #592A1C #87402B #B5563A #CC7960

Accessibility & contrast

On white

7.50
#87402B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#87402B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87402B
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87402B#FFFFFF#000000##FFFFFF
##87402B1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B29
Deuteranopia (green-blind)
#645B2A
Tritanopia (blue-blind)
#94323B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #87402b;
/* rgb */ color: rgb(135, 64, 43);
/* oklch */ color: oklch(45.9% 0.103 37.3);
Tailwind
colors: {
  custom: {
    50: '#af7665',
    500: '#87402b',
    950: '#000000',
  },
}
SCSS
$custom: #87402b;
$custom-light: #af7665;
$custom-dark: #000000;
JSON
{
  "hex": "#87402b",
  "rgb": {
    "r": 135,
    "g": 64,
    "b": 43
  },
  "hsl": {
    "h": 13.696,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45883,
    "c": 0.10298,
    "h": 37.3
  },
  "luminance": 0.08992
}

Semantic roles & 50–950 ramp

primary
#87402B
secondary
#5B9FB2
accent
#BBDB4D
background
#FBF7F6
surface
#F6EDEB
border
#D0C8C6
text
#110905
muted
#807B7A

Preview Lab

Preview with #87402B

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

Preview Lab → · Contrast checker → · Palette generator →

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