#872718#872718

#872718 is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.1% C 0.133 H 31.7°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#872718
RGBrgb(135, 39, 24)
HSLhsl(8, 70%, 31%)
HSVhsv(8, 82%, 53%)
CMYKcmyk(0%, 71.1%, 82.2%, 47.1%)
CIE-LABlab(31.04, 40.03, 32.34)
CIE-LCHlch(31.04, 51.46, 38.94°)
OKLaboklab(42.08% 0.1135 0.07)
OKLCHoklch(42.08% 0.133 31.7)
XYZxyz(10.8833, 6.6695, 1.5783)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872718 #187887
analogous
#871840 #872718 #875E18
triadic
#872718 #188727 #271887
tetradic
#872718 #408718 #187887 #5E1887
square
#872718 #408718 #187887 #5E1887
split-complementary
#872718 #18875E #184087
monochromatic
#1F0906 #53180F #872718 #BB3621 #DC523D

Accessibility & contrast

On white

9.00
#872718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#872718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872718
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872718#FFFFFF#000000##FFFFFF
##8727181.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #872718;
/* rgb */ color: rgb(135, 39, 24);
/* oklch */ color: oklch(42.1% 0.133 31.7);
Tailwind
colors: {
  custom: {
    50: '#b26756',
    500: '#872718',
    950: '#000000',
  },
}
SCSS
$custom: #872718;
$custom-light: #b26756;
$custom-dark: #000000;
JSON
{
  "hex": "#872718",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 24
  },
  "hsl": {
    "h": 8.108,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42084,
    "c": 0.13331,
    "h": 31.7
  },
  "luminance": 0.06668
}

Semantic roles & 50–950 ramp

primary
#872718
secondary
#40AABB
accent
#D5ED3B
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #872718

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

Preview Lab → · Contrast checker → · Palette generator →

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