#872822#872822

#872822 is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.3% C 0.131 H 27.7°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#872822
RGBrgb(135, 40, 34)
HSLhsl(4, 60%, 33%)
HSVhsv(4, 75%, 53%)
CMYKcmyk(0%, 70.4%, 74.8%, 47.1%)
CIE-LABlab(31.31, 40.02, 26.76)
CIE-LCHlch(31.31, 48.14, 33.77°)
OKLaboklab(42.32% 0.1156 0.0607)
OKLCHoklch(42.32% 0.131 27.7)
XYZxyz(11.0404, 6.7856, 2.2415)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872822 #228187
analogous
#87224F #872822 #875A22
triadic
#872822 #228728 #282287
tetradic
#872822 #4F8722 #228187 #5A2287
square
#872822 #4F8722 #228187 #5A2287
split-complementary
#872822 #22875A #224F87
monochromatic
#250B09 #561A16 #872822 #B8362E #D35850

Accessibility & contrast

On white

8.91
#872822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#872822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872822
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872822#FFFFFF#000000##FFFFFF
##8728221.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433D21
Deuteranopia (green-blind)
#5B511F
Tritanopia (blue-blind)
#950A27
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #872822;
/* rgb */ color: rgb(135, 40, 34);
/* oklch */ color: oklch(42.3% 0.131 27.7);
Tailwind
colors: {
  custom: {
    50: '#b1685d',
    500: '#872822',
    950: '#000000',
  },
}
SCSS
$custom: #872822;
$custom-light: #b1685d;
$custom-dark: #000000;
JSON
{
  "hex": "#872822",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 34
  },
  "hsl": {
    "h": 3.564,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42324,
    "c": 0.13053,
    "h": 27.7
  },
  "luminance": 0.06784
}

Semantic roles & 50–950 ramp

primary
#872822
secondary
#4EB0B7
accent
#DAE345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #872822

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

Preview Lab → · Contrast checker → · Palette generator →

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