#87402D#87402D

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

Color values

HEX#87402D
RGBrgb(135, 64, 45)
HSLhsl(13, 50%, 35%)
HSVhsv(13, 67%, 53%)
CMYKcmyk(0%, 52.6%, 66.7%, 47.1%)
CIE-LABlab(36.00, 28.76, 25.62)
CIE-LCHlch(36.00, 38.52, 41.70°)
OKLaboklab(45.91% 0.0828 0.0601)
OKLCHoklch(45.91% 0.102 36)
XYZxyz(12.2998, 9.0086, 3.5732)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87402D #2D7487
analogous
#872D47 #87402D #876D2D
triadic
#87402D #2D8740 #402D87
tetradic
#87402D #47872D #2D7487 #6D2D87
square
#87402D #47872D #2D7487 #6D2D87
split-complementary
#87402D #2D876D #2D4787
monochromatic
#2B140E #592A1E #87402D #B5563C #CB7963

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87402D#FFFFFF#000000##FFFFFF
##87402D1.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)
#534B2B
Deuteranopia (green-blind)
#645B2C
Tritanopia (blue-blind)
#94333C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #87402d;
/* rgb */ color: rgb(135, 64, 45);
/* oklch */ color: oklch(45.9% 0.102 36.0);
Tailwind
colors: {
  custom: {
    50: '#af7666',
    500: '#87402d',
    950: '#000000',
  },
}
SCSS
$custom: #87402d;
$custom-light: #af7666;
$custom-dark: #000000;
JSON
{
  "hex": "#87402d",
  "rgb": {
    "r": 135,
    "g": 64,
    "b": 45
  },
  "hsl": {
    "h": 12.667,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45914,
    "c": 0.10227,
    "h": 36
  },
  "luminance": 0.09007
}

Semantic roles & 50–950 ramp

primary
#87402D
secondary
#5EA0B2
accent
#BCDA4E
background
#FBF7F6
surface
#F6EDEB
border
#D0C8C6
text
#110906
muted
#807B7A

Preview Lab

Preview with #87402D

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

Preview Lab → · Contrast checker → · Palette generator →

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