#872027#872027

#872027 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.5% C 0.138 H 22.2°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#872027
RGBrgb(135, 32, 39)
HSLhsl(356, 62%, 33%)
HSVhsv(356, 76%, 53%)
CMYKcmyk(0%, 76.3%, 71.1%, 47.1%)
CIE-LABlab(30.24, 43.45, 22.36)
CIE-LCHlch(30.24, 48.86, 27.23°)
OKLaboklab(41.54% 0.1276 0.052)
OKLCHoklch(41.54% 0.138 22.2)
XYZxyz(10.8756, 6.3321, 2.5686)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872027 #208780
analogous
#87205B #872027 #874C20
triadic
#872027 #278720 #202787
tetradic
#872027 #5B8720 #208780 #4C2087
square
#872027 #5B8720 #208780 #4C2087
split-complementary
#872027 #20874C #205B87
monochromatic
#24090A #561419 #872027 #B82C35 #D54D56

Accessibility & contrast

On white

9.27
#872027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#872027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872027
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872027#FFFFFF#000000##FFFFFF
##8720271.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3926
Deuteranopia (green-blind)
#584F24
Tritanopia (blue-blind)
#950024
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #872027;
/* rgb */ color: rgb(135, 32, 39);
/* oklch */ color: oklch(41.5% 0.138 22.2);
Tailwind
colors: {
  custom: {
    50: '#b16461',
    500: '#872027',
    950: '#000000',
  },
}
SCSS
$custom: #872027;
$custom-light: #b16461;
$custom-dark: #000000;
JSON
{
  "hex": "#872027",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 39
  },
  "hsl": {
    "h": 355.922,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41543,
    "c": 0.13773,
    "h": 22.2
  },
  "luminance": 0.0633
}

Semantic roles & 50–950 ramp

primary
#872027
secondary
#4BB8B0
accent
#E5DA43
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #872027

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

Preview Lab → · Contrast checker → · Palette generator →

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