#872020#872020

#872020 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.4% C 0.139 H 25.6°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#872020
RGBrgb(135, 32, 32)
HSLhsl(0, 62%, 33%)
HSVhsv(0, 76%, 53%)
CMYKcmyk(0%, 76.3%, 76.3%, 47.1%)
CIE-LABlab(30.13, 43.11, 26.65)
CIE-LCHlch(30.13, 50.68, 31.73°)
OKLaboklab(41.43% 0.1249 0.06)
OKLCHoklch(41.43% 0.139 25.6)
XYZxyz(10.7701, 6.2899, 2.0132)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872020 #208787
analogous
#872053 #872020 #875320
triadic
#872020 #208720 #202087
tetradic
#872020 #538720 #208787 #532087
square
#872020 #538720 #208787 #532087
split-complementary
#872020 #208753 #205387
monochromatic
#240909 #561414 #872020 #B82C2C #D54D4D

Accessibility & contrast

On white

9.30
#872020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#872020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872020
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872020#FFFFFF#000000##FFFFFF
##8720201.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F391F
Deuteranopia (green-blind)
#584F1C
Tritanopia (blue-blind)
#950021
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #872020;
/* rgb */ color: rgb(135, 32, 32);
/* oklch */ color: oklch(41.4% 0.139 25.6);
Tailwind
colors: {
  custom: {
    50: '#b2645b',
    500: '#872020',
    950: '#000000',
  },
}
SCSS
$custom: #872020;
$custom-light: #b2645b;
$custom-dark: #000000;
JSON
{
  "hex": "#872020",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 32
  },
  "hsl": {
    "h": 0,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41433,
    "c": 0.13851,
    "h": 25.6
  },
  "luminance": 0.06288
}

Semantic roles & 50–950 ramp

primary
#872020
secondary
#4BB8B8
accent
#E5E543
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #872020

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

Preview Lab → · Contrast checker → · Palette generator →

#872020 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva