#872222#872222

#872222 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.7% C 0.136 H 25.4°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#872222
RGBrgb(135, 34, 34)
HSLhsl(0, 60%, 33%)
HSVhsv(0, 75%, 53%)
CMYKcmyk(0%, 74.8%, 74.8%, 47.1%)
CIE-LABlab(30.43, 42.45, 25.75)
CIE-LCHlch(30.43, 49.65, 31.24°)
OKLaboklab(41.66% 0.1232 0.0584)
OKLCHoklch(41.66% 0.136 25.4)
XYZxyz(10.8537, 6.4121, 2.1792)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872222 #228787
analogous
#872254 #872222 #875422
triadic
#872222 #228722 #222287
tetradic
#872222 #548722 #228787 #542287
square
#872222 #548722 #228787 #542287
split-complementary
#872222 #228754 #225487
monochromatic
#250909 #561616 #872222 #B82E2E #D35050

Accessibility & contrast

On white

9.20
#872222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#872222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872222
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872222#FFFFFF#000000##FFFFFF
##8722221.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A21
Deuteranopia (green-blind)
#59501E
Tritanopia (blue-blind)
#950023
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #872222;
/* rgb */ color: rgb(135, 34, 34);
/* oklch */ color: oklch(41.7% 0.136 25.4);
Tailwind
colors: {
  custom: {
    50: '#b1655d',
    500: '#872222',
    950: '#000000',
  },
}
SCSS
$custom: #872222;
$custom-light: #b1655d;
$custom-dark: #000000;
JSON
{
  "hex": "#872222",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 34
  },
  "hsl": {
    "h": 0,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41663,
    "c": 0.13639,
    "h": 25.4
  },
  "luminance": 0.0641
}

Semantic roles & 50–950 ramp

primary
#872222
secondary
#4EB7B7
accent
#E3E345
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #872222

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

Preview Lab → · Contrast checker → · Palette generator →

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