#872518#872518

#872518 is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.9% C 0.135 H 30.9°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#872518
RGBrgb(135, 37, 24)
HSLhsl(7, 70%, 31%)
HSVhsv(7, 82%, 53%)
CMYKcmyk(0%, 72.6%, 82.2%, 47.1%)
CIE-LABlab(30.74, 40.86, 32.04)
CIE-LCHlch(30.74, 51.92, 38.11°)
OKLaboklab(41.86% 0.1161 0.0693)
OKLCHoklch(41.86% 0.135 30.9)
XYZxyz(10.8194, 6.5416, 1.5569)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872518 #187A87
analogous
#871842 #872518 #875C18
triadic
#872518 #188725 #251887
tetradic
#872518 #428718 #187A87 #5C1887
square
#872518 #428718 #187A87 #5C1887
split-complementary
#872518 #18875C #184287
monochromatic
#1F0906 #53170F #872518 #BB3321 #DC503D

Accessibility & contrast

On white

9.10
#872518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#872518 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872518
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872518#FFFFFF#000000##FFFFFF
##8725181.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B16
Deuteranopia (green-blind)
#5A5014
Tritanopia (blue-blind)
#950023
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #872518;
/* rgb */ color: rgb(135, 37, 24);
/* oklch */ color: oklch(41.9% 0.135 30.9);
Tailwind
colors: {
  custom: {
    50: '#b26656',
    500: '#872518',
    950: '#000000',
  },
}
SCSS
$custom: #872518;
$custom-light: #b26656;
$custom-dark: #000000;
JSON
{
  "hex": "#872518",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 24
  },
  "hsl": {
    "h": 7.027,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41857,
    "c": 0.13518,
    "h": 30.9
  },
  "luminance": 0.0654
}

Semantic roles & 50–950 ramp

primary
#872518
secondary
#40ACBB
accent
#D8ED3B
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #872518

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

Preview Lab → · Contrast checker → · Palette generator →

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