#872024#872024

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

Color values

HEX#872024
RGBrgb(135, 32, 36)
HSLhsl(358, 62%, 33%)
HSVhsv(358, 76%, 53%)
CMYKcmyk(0%, 76.3%, 73.3%, 47.1%)
CIE-LABlab(30.19, 43.30, 24.21)
CIE-LCHlch(30.19, 49.61, 29.22°)
OKLaboklab(41.49% 0.1264 0.0555)
OKLCHoklch(41.49% 0.138 23.7)
XYZxyz(10.8278, 6.3129, 2.3171)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872024 #208783
analogous
#872057 #872024 #874F20
triadic
#872024 #248720 #202487
tetradic
#872024 #578720 #208783 #4F2087
square
#872024 #578720 #208783 #4F2087
split-complementary
#872024 #20874F #205787
monochromatic
#24090A #561417 #872024 #B82C31 #D54D52

Accessibility & contrast

On white

9.28
#872024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872024
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872024#FFFFFF#000000##FFFFFF
##8720241.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3923
Deuteranopia (green-blind)
#584F21
Tritanopia (blue-blind)
#950023
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #872024;
/* rgb */ color: rgb(135, 32, 36);
/* oklch */ color: oklch(41.5% 0.138 23.7);
Tailwind
colors: {
  custom: {
    50: '#b1645e',
    500: '#872024',
    950: '#000000',
  },
}
SCSS
$custom: #872024;
$custom-light: #b1645e;
$custom-dark: #000000;
JSON
{
  "hex": "#872024",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 36
  },
  "hsl": {
    "h": 357.67,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41493,
    "c": 0.13803,
    "h": 23.7
  },
  "luminance": 0.06311
}

Semantic roles & 50–950 ramp

primary
#872024
secondary
#4BB8B3
accent
#E5DE43
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #872024

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

Preview Lab → · Contrast checker → · Palette generator →

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