#87182E#87182E

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

Color values

HEX#87182E
RGBrgb(135, 24, 46)
HSLhsl(348, 70%, 31%)
HSVhsv(348, 82%, 53%)
CMYKcmyk(0%, 82.2%, 65.9%, 47.1%)
CIE-LABlab(29.42, 46.49, 16.76)
CIE-LCHlch(29.42, 49.42, 19.82°)
OKLaboklab(40.98% 0.1389 0.0403)
OKLCHoklch(40.98% 0.145 16.2)
XYZxyz(10.8126, 6.0031, 3.1736)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87182E #188771
analogous
#871865 #87182E #873918
triadic
#87182E #2E8718 #182E87
tetradic
#87182E #658718 #188771 #391887
square
#87182E #658718 #188771 #391887
split-complementary
#87182E #188739 #186587
monochromatic
#1F060B #530F1C #87182E #BB2140 #DC3D5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87182E#FFFFFF#000000##FFFFFF
##87182E1.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)
#39372E
Deuteranopia (green-blind)
#554E2B
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #87182e;
/* rgb */ color: rgb(135, 24, 46);
/* oklch */ color: oklch(41.0% 0.145 16.2);
Tailwind
colors: {
  custom: {
    50: '#b16166',
    500: '#87182e',
    950: '#000000',
  },
}
SCSS
$custom: #87182e;
$custom-light: #b16166;
$custom-dark: #000000;
JSON
{
  "hex": "#87182e",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 46
  },
  "hsl": {
    "h": 348.108,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40979,
    "c": 0.14461,
    "h": 16.2
  },
  "luminance": 0.06001
}

Semantic roles & 50–950 ramp

primary
#87182E
secondary
#40BBA2
accent
#EDC93B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120605
muted
#817A7A

Preview Lab

Preview with #87182E

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

Preview Lab → · Contrast checker → · Palette generator →

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