#872818#872818

#872818 is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.2% C 0.132 H 32.1°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#872818
RGBrgb(135, 40, 24)
HSLhsl(9, 70%, 31%)
HSVhsv(9, 82%, 53%)
CMYKcmyk(0%, 70.4%, 82.2%, 47.1%)
CIE-LABlab(31.20, 39.60, 32.50)
CIE-LCHlch(31.20, 51.23, 39.37°)
OKLaboklab(42.2% 0.1122 0.0703)
OKLCHoklch(42.2% 0.132 32.1)
XYZxyz(10.9166, 6.7361, 1.5894)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872818 #187787
analogous
#87183F #872818 #875F18
triadic
#872818 #188728 #281887
tetradic
#872818 #3F8718 #187787 #5F1887
square
#872818 #3F8718 #187787 #5F1887
split-complementary
#872818 #18875F #183F87
monochromatic
#1F0906 #53190F #872818 #BB3721 #DC543D

Accessibility & contrast

On white

8.95
#872818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#872818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872818
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872818#FFFFFF#000000##FFFFFF
##8728181.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C15
Deuteranopia (green-blind)
#5B5114
Tritanopia (blue-blind)
#950725
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #872818;
/* rgb */ color: rgb(135, 40, 24);
/* oklch */ color: oklch(42.2% 0.132 32.1);
Tailwind
colors: {
  custom: {
    50: '#b26856',
    500: '#872818',
    950: '#000000',
  },
}
SCSS
$custom: #872818;
$custom-light: #b26856;
$custom-dark: #000000;
JSON
{
  "hex": "#872818",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 24
  },
  "hsl": {
    "h": 8.649,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42201,
    "c": 0.13237,
    "h": 32.1
  },
  "luminance": 0.06734
}

Semantic roles & 50–950 ramp

primary
#872818
secondary
#40A9BB
accent
#D3ED3B
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #872818

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

Preview Lab → · Contrast checker → · Palette generator →

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