#872827#872827

#872827 is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.4% C 0.130 H 25.1°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#872827
RGBrgb(135, 40, 39)
HSLhsl(1, 55%, 34%)
HSVhsv(1, 71%, 53%)
CMYKcmyk(0%, 70.4%, 71.1%, 47.1%)
CIE-LABlab(31.39, 40.28, 23.74)
CIE-LCHlch(31.39, 46.76, 30.52°)
OKLaboklab(42.4% 0.1175 0.055)
OKLCHoklch(42.4% 0.13 25.1)
XYZxyz(11.1179, 6.8166, 2.6494)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872827 #278687
analogous
#872756 #872827 #875827
triadic
#872827 #278728 #282787
tetradic
#872827 #568727 #278687 #582787
square
#872827 #568727 #278687 #582787
split-complementary
#872827 #278758 #275687
monochromatic
#280C0C #581A19 #872827 #B63635 #CF5B59

Accessibility & contrast

On white

8.89
#872827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#872827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872827
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872827#FFFFFF#000000##FFFFFF
##8728271.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423D26
Deuteranopia (green-blind)
#5A5124
Tritanopia (blue-blind)
#950C29
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #872827;
/* rgb */ color: rgb(135, 40, 39);
/* oklch */ color: oklch(42.4% 0.130 25.1);
Tailwind
colors: {
  custom: {
    50: '#b16861',
    500: '#872827',
    950: '#000000',
  },
}
SCSS
$custom: #872827;
$custom-light: #b16861;
$custom-dark: #000000;
JSON
{
  "hex": "#872827",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 39
  },
  "hsl": {
    "h": 0.625,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42401,
    "c": 0.12975,
    "h": 25.1
  },
  "luminance": 0.06815
}

Semantic roles & 50–950 ramp

primary
#872827
secondary
#56B3B4
accent
#DDDF49
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #872827

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

Preview Lab → · Contrast checker → · Palette generator →

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