#872820#872820

#872820 is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.3% C 0.131 H 28.7°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#872820
RGBrgb(135, 40, 32)
HSLhsl(5, 62%, 33%)
HSVhsv(5, 76%, 53%)
CMYKcmyk(0%, 70.4%, 76.3%, 47.1%)
CIE-LABlab(31.29, 39.93, 27.95)
CIE-LCHlch(31.29, 48.74, 34.99°)
OKLaboklab(42.3% 0.1149 0.0628)
OKLCHoklch(42.3% 0.131 28.7)
XYZxyz(11.0124, 6.7744, 2.0939)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872820 #207F87
analogous
#87204C #872820 #875B20
triadic
#872820 #208728 #282087
tetradic
#872820 #4C8720 #207F87 #5B2087
square
#872820 #4C8720 #207F87 #5B2087
split-complementary
#872820 #20875B #204C87
monochromatic
#240B09 #561914 #872820 #B8372C #D5574D

Accessibility & contrast

On white

8.92
#872820 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#872820 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872820
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872820#FFFFFF#000000##FFFFFF
##8728201.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C1E
Deuteranopia (green-blind)
#5B511D
Tritanopia (blue-blind)
#950A27
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #872820;
/* rgb */ color: rgb(135, 40, 32);
/* oklch */ color: oklch(42.3% 0.131 28.7);
Tailwind
colors: {
  custom: {
    50: '#b1685c',
    500: '#872820',
    950: '#000000',
  },
}
SCSS
$custom: #872820;
$custom-light: #b1685c;
$custom-dark: #000000;
JSON
{
  "hex": "#872820",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 32
  },
  "hsl": {
    "h": 4.66,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42296,
    "c": 0.13088,
    "h": 28.7
  },
  "luminance": 0.06773
}

Semantic roles & 50–950 ramp

primary
#872820
secondary
#4BAFB8
accent
#D8E543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #872820

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

Preview Lab → · Contrast checker → · Palette generator →

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