#872418#872418

#872418 is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.7% C 0.136 H 30.5°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#872418
RGBrgb(135, 36, 24)
HSLhsl(6, 70%, 31%)
HSVhsv(6, 82%, 53%)
CMYKcmyk(0%, 73.3%, 82.2%, 47.1%)
CIE-LABlab(30.59, 41.26, 31.90)
CIE-LCHlch(30.59, 52.15, 37.71°)
OKLaboklab(41.75% 0.1173 0.069)
OKLCHoklch(41.75% 0.136 30.5)
XYZxyz(10.7887, 6.4803, 1.5467)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872418 #187B87
analogous
#871843 #872418 #875B18
triadic
#872418 #188724 #241887
tetradic
#872418 #438718 #187B87 #5B1887
square
#872418 #438718 #187B87 #5B1887
split-complementary
#872418 #18875B #184387
monochromatic
#1F0806 #53160F #872418 #BB3221 #DC4E3D

Accessibility & contrast

On white

9.15
#872418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#872418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872418
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872418#FFFFFF#000000##FFFFFF
##8724181.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A16
Deuteranopia (green-blind)
#5A5013
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #872418;
/* rgb */ color: rgb(135, 36, 24);
/* oklch */ color: oklch(41.7% 0.136 30.5);
Tailwind
colors: {
  custom: {
    50: '#b26656',
    500: '#872418',
    950: '#000000',
  },
}
SCSS
$custom: #872418;
$custom-light: #b26656;
$custom-dark: #000000;
JSON
{
  "hex": "#872418",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 24
  },
  "hsl": {
    "h": 6.486,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41748,
    "c": 0.1361,
    "h": 30.5
  },
  "luminance": 0.06479
}

Semantic roles & 50–950 ramp

primary
#872418
secondary
#40ADBB
accent
#D9ED3B
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #872418

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

Preview Lab → · Contrast checker → · Palette generator →

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