#872223#872223

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

Color values

HEX#872223
RGBrgb(135, 34, 35)
HSLhsl(359, 60%, 33%)
HSVhsv(359, 75%, 53%)
CMYKcmyk(0%, 74.8%, 74.1%, 47.1%)
CIE-LABlab(30.44, 42.50, 25.14)
CIE-LCHlch(30.44, 49.38, 30.61°)
OKLaboklab(41.68% 0.1236 0.0573)
OKLCHoklch(41.68% 0.136 24.9)
XYZxyz(10.8683, 6.4179, 2.2563)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872223 #228786
analogous
#872255 #872223 #875322
triadic
#872223 #238722 #222387
tetradic
#872223 #558722 #228786 #532287
square
#872223 #558722 #228786 #532287
split-complementary
#872223 #228753 #225587
monochromatic
#25090A #561616 #872223 #B82E30 #D35052

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##872223#FFFFFF#000000##FFFFFF
##8722231.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)
#3F3A22
Deuteranopia (green-blind)
#595020
Tritanopia (blue-blind)
#950024
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #872223;
/* rgb */ color: rgb(135, 34, 35);
/* oklch */ color: oklch(41.7% 0.136 24.9);
Tailwind
colors: {
  custom: {
    50: '#b1655e',
    500: '#872223',
    950: '#000000',
  },
}
SCSS
$custom: #872223;
$custom-light: #b1655e;
$custom-dark: #000000;
JSON
{
  "hex": "#872223",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 35
  },
  "hsl": {
    "h": 359.406,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41678,
    "c": 0.13627,
    "h": 24.9
  },
  "luminance": 0.06416
}

Semantic roles & 50–950 ramp

primary
#872223
secondary
#4EB7B5
accent
#E3E145
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #872223

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

Preview Lab → · Contrast checker → · Palette generator →

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