#87182F#87182F

#87182F is a dark, vivid red. Relative luminance 0.060; OKLCH L 41.0% C 0.145 H 15.6°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#87182F
RGBrgb(135, 24, 47)
HSLhsl(348, 70%, 31%)
HSVhsv(348, 82%, 53%)
CMYKcmyk(0%, 82.2%, 65.2%, 47.1%)
CIE-LABlab(29.44, 46.56, 16.12)
CIE-LCHlch(29.44, 49.27, 19.10°)
OKLaboklab(41% 0.1393 0.0389)
OKLCHoklch(41% 0.145 15.6)
XYZxyz(10.8326, 6.0111, 3.2786)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87182F #188770
analogous
#871866 #87182F #873918
triadic
#87182F #2F8718 #182F87
tetradic
#87182F #668718 #188770 #391887
square
#87182F #668718 #188770 #391887
split-complementary
#87182F #188739 #186687
monochromatic
#1F060B #530F1D #87182F #BB2141 #DC3D5E

Accessibility & contrast

On white

9.54
#87182F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#87182F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87182F
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87182F#FFFFFF#000000##FFFFFF
##87182F1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39372F
Deuteranopia (green-blind)
#554E2C
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #87182f;
/* rgb */ color: rgb(135, 24, 47);
/* oklch */ color: oklch(41.0% 0.145 15.6);
Tailwind
colors: {
  custom: {
    50: '#b16167',
    500: '#87182f',
    950: '#000000',
  },
}
SCSS
$custom: #87182f;
$custom-light: #b16167;
$custom-dark: #000000;
JSON
{
  "hex": "#87182f",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 47
  },
  "hsl": {
    "h": 347.568,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41,
    "c": 0.14464,
    "h": 15.6
  },
  "luminance": 0.06009
}

Semantic roles & 50–950 ramp

primary
#87182F
secondary
#40BBA1
accent
#EDC83B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #87182F

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

Preview Lab → · Contrast checker → · Palette generator →

#87182F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva