#872918#872918

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

Color values

HEX#872918
RGBrgb(135, 41, 24)
HSLhsl(9, 70%, 31%)
HSVhsv(9, 82%, 53%)
CMYKcmyk(0%, 69.6%, 82.2%, 47.1%)
CIE-LABlab(31.36, 39.17, 32.66)
CIE-LCHlch(31.36, 51.00, 39.82°)
OKLaboklab(42.32% 0.1108 0.0707)
OKLCHoklch(42.32% 0.131 32.5)
XYZxyz(10.9507, 6.8044, 1.6007)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872918 #187687
analogous
#87183E #872918 #876018
triadic
#872918 #188729 #291887
tetradic
#872918 #3E8718 #187687 #601887
square
#872918 #3E8718 #187687 #601887
split-complementary
#872918 #188760 #183E87
monochromatic
#1F0906 #53190F #872918 #BB3921 #DC553D

Accessibility & contrast

On white

8.90
#872918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872918
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872918#FFFFFF#000000##FFFFFF
##8729181.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D15
Deuteranopia (green-blind)
#5C5114
Tritanopia (blue-blind)
#950A26
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #872918;
/* rgb */ color: rgb(135, 41, 24);
/* oklch */ color: oklch(42.3% 0.131 32.5);
Tailwind
colors: {
  custom: {
    50: '#b26856',
    500: '#872918',
    950: '#000000',
  },
}
SCSS
$custom: #872918;
$custom-light: #b26856;
$custom-dark: #000000;
JSON
{
  "hex": "#872918",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 24
  },
  "hsl": {
    "h": 9.189,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4232,
    "c": 0.13142,
    "h": 32.5
  },
  "luminance": 0.06803
}

Semantic roles & 50–950 ramp

primary
#872918
secondary
#40A8BB
accent
#D1ED3B
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #872918

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

Preview Lab → · Contrast checker → · Palette generator →

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