#872022#872022

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

Color values

HEX#872022
RGBrgb(135, 32, 34)
HSLhsl(359, 62%, 33%)
HSVhsv(359, 76%, 53%)
CMYKcmyk(0%, 76.3%, 74.8%, 47.1%)
CIE-LABlab(30.16, 43.20, 25.44)
CIE-LCHlch(30.16, 50.13, 30.49°)
OKLaboklab(41.46% 0.1256 0.0578)
OKLCHoklch(41.46% 0.138 24.7)
XYZxyz(10.7982, 6.3011, 2.1607)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872022 #208785
analogous
#872055 #872022 #875120
triadic
#872022 #228720 #202287
tetradic
#872022 #558720 #208785 #512087
square
#872022 #558720 #208785 #512087
split-complementary
#872022 #208751 #205587
monochromatic
#240909 #561416 #872022 #B82C2E #D54D4F

Accessibility & contrast

On white

9.29
#872022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872022
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872022#FFFFFF#000000##FFFFFF
##8720221.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3921
Deuteranopia (green-blind)
#584F1E
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #872022;
/* rgb */ color: rgb(135, 32, 34);
/* oklch */ color: oklch(41.5% 0.138 24.7);
Tailwind
colors: {
  custom: {
    50: '#b1645d',
    500: '#872022',
    950: '#000000',
  },
}
SCSS
$custom: #872022;
$custom-light: #b1645d;
$custom-dark: #000000;
JSON
{
  "hex": "#872022",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 34
  },
  "hsl": {
    "h": 358.835,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41462,
    "c": 0.13825,
    "h": 24.7
  },
  "luminance": 0.06299
}

Semantic roles & 50–950 ramp

primary
#872022
secondary
#4BB8B6
accent
#E5E243
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #872022

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

Preview Lab → · Contrast checker → · Palette generator →

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