#872218#872218

#872218 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.5% C 0.138 H 29.7°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#872218
RGBrgb(135, 34, 24)
HSLhsl(5, 70%, 31%)
HSVhsv(5, 82%, 53%)
CMYKcmyk(0%, 74.8%, 82.2%, 47.1%)
CIE-LABlab(30.31, 42.04, 31.61)
CIE-LCHlch(30.31, 52.60, 36.94°)
OKLaboklab(41.54% 0.1198 0.0684)
OKLCHoklch(41.54% 0.138 29.7)
XYZxyz(10.7298, 6.3626, 1.5271)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872218 #187D87
analogous
#871845 #872218 #875918
triadic
#872218 #188722 #221887
tetradic
#872218 #458718 #187D87 #591887
square
#872218 #458718 #187D87 #591887
split-complementary
#872218 #188759 #184587
monochromatic
#1F0806 #53150F #872218 #BB2F21 #DC4B3D

Accessibility & contrast

On white

9.24
#872218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#872218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872218
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872218#FFFFFF#000000##FFFFFF
##8722181.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403916
Deuteranopia (green-blind)
#594F13
Tritanopia (blue-blind)
#950021
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #872218;
/* rgb */ color: rgb(135, 34, 24);
/* oklch */ color: oklch(41.5% 0.138 29.7);
Tailwind
colors: {
  custom: {
    50: '#b26556',
    500: '#872218',
    950: '#000000',
  },
}
SCSS
$custom: #872218;
$custom-light: #b26556;
$custom-dark: #000000;
JSON
{
  "hex": "#872218",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 24
  },
  "hsl": {
    "h": 5.405,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41535,
    "c": 0.13789,
    "h": 29.7
  },
  "luminance": 0.06361
}

Semantic roles & 50–950 ramp

primary
#872218
secondary
#40B0BB
accent
#DDED3B
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #872218

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

Preview Lab → · Contrast checker → · Palette generator →

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