#872018#872018

#872018 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.3% C 0.140 H 29.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#872018
RGBrgb(135, 32, 24)
HSLhsl(4, 70%, 31%)
HSVhsv(4, 82%, 53%)
CMYKcmyk(0%, 76.3%, 82.2%, 47.1%)
CIE-LABlab(30.04, 42.79, 31.34)
CIE-LCHlch(30.04, 53.04, 36.22°)
OKLaboklab(41.33% 0.1221 0.0678)
OKLCHoklch(41.33% 0.14 29)
XYZxyz(10.6743, 6.2515, 1.5086)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872018 #187F87
analogous
#871847 #872018 #875718
triadic
#872018 #188720 #201887
tetradic
#872018 #478718 #187F87 #571887
square
#872018 #478718 #187F87 #571887
split-complementary
#872018 #188757 #184787
monochromatic
#1F0706 #53140F #872018 #BB2C21 #DC483D

Accessibility & contrast

On white

9.33
#872018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#872018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872018
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872018#FFFFFF#000000##FFFFFF
##8720181.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #872018;
/* rgb */ color: rgb(135, 32, 24);
/* oklch */ color: oklch(41.3% 0.140 29.0);
Tailwind
colors: {
  custom: {
    50: '#b26456',
    500: '#872018',
    950: '#000000',
  },
}
SCSS
$custom: #872018;
$custom-light: #b26456;
$custom-dark: #000000;
JSON
{
  "hex": "#872018",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 24
  },
  "hsl": {
    "h": 4.324,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41333,
    "c": 0.13965,
    "h": 29
  },
  "luminance": 0.0625
}

Semantic roles & 50–950 ramp

primary
#872018
secondary
#40B2BB
accent
#E0ED3B
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #872018

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

Preview Lab → · Contrast checker → · Palette generator →

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