#871F18#871F18

#871F18 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.2% C 0.141 H 28.7°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#871F18
RGBrgb(135, 31, 24)
HSLhsl(4, 70%, 31%)
HSVhsv(4, 82%, 53%)
CMYKcmyk(0%, 77%, 82.2%, 47.1%)
CIE-LABlab(29.91, 43.15, 31.21)
CIE-LCHlch(29.91, 53.26, 35.87°)
OKLaboklab(41.24% 0.1232 0.0675)
OKLCHoklch(41.24% 0.141 28.7)
XYZxyz(10.6478, 6.1985, 1.4998)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F18 #188087
analogous
#871848 #871F18 #875618
triadic
#871F18 #18871F #1F1887
tetradic
#871F18 #488718 #188087 #561887
square
#871F18 #488718 #188087 #561887
split-complementary
#871F18 #188756 #184887
monochromatic
#1F0706 #53130F #871F18 #BB2B21 #DC473D

Accessibility & contrast

On white

9.38
#871F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#871F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F18
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F18#FFFFFF#000000##FFFFFF
##871F181.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3816
Deuteranopia (green-blind)
#584F13
Tritanopia (blue-blind)
#95001F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871f18;
/* rgb */ color: rgb(135, 31, 24);
/* oklch */ color: oklch(41.2% 0.141 28.7);
Tailwind
colors: {
  custom: {
    50: '#b26456',
    500: '#871f18',
    950: '#000000',
  },
}
SCSS
$custom: #871f18;
$custom-light: #b26456;
$custom-dark: #000000;
JSON
{
  "hex": "#871f18",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 24
  },
  "hsl": {
    "h": 3.784,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41236,
    "c": 0.14051,
    "h": 28.7
  },
  "luminance": 0.06197
}

Semantic roles & 50–950 ramp

primary
#871F18
secondary
#40B3BB
accent
#E1ED3B
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871F18

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

Preview Lab → · Contrast checker → · Palette generator →

#871F18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva