#87272E#87272E

#87272E is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.4% C 0.130 H 20.7°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#87272E
RGBrgb(135, 39, 46)
HSLhsl(356, 55%, 34%)
HSVhsv(356, 71%, 53%)
CMYKcmyk(0%, 71.1%, 65.9%, 47.1%)
CIE-LABlab(31.35, 41.12, 19.24)
CIE-LCHlch(31.35, 45.40, 25.07°)
OKLaboklab(42.41% 0.1217 0.0459)
OKLCHoklch(42.41% 0.13 20.7)
XYZxyz(11.2115, 6.8008, 3.3066)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87272E #278780
analogous
#87275E #87272E #875027
triadic
#87272E #2E8727 #272E87
tetradic
#87272E #5E8727 #278780 #502787
square
#87272E #5E8727 #278780 #502787
split-complementary
#87272E #278750 #275E87
monochromatic
#280C0E #58191E #87272E #B6353E #CF5962

Accessibility & contrast

On white

8.90
#87272E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#87272E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87272E
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87272E#FFFFFF#000000##FFFFFF
##87272E1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413D2E
Deuteranopia (green-blind)
#59512B
Tritanopia (blue-blind)
#940D2A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #87272e;
/* rgb */ color: rgb(135, 39, 46);
/* oklch */ color: oklch(42.4% 0.130 20.7);
Tailwind
colors: {
  custom: {
    50: '#b06866',
    500: '#87272e',
    950: '#000000',
  },
}
SCSS
$custom: #87272e;
$custom-light: #b06866;
$custom-dark: #000000;
JSON
{
  "hex": "#87272e",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 46
  },
  "hsl": {
    "h": 355.625,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42411,
    "c": 0.13007,
    "h": 20.7
  },
  "luminance": 0.06799
}

Semantic roles & 50–950 ramp

primary
#87272E
secondary
#56B4AD
accent
#DFD449
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #87272E

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

Preview Lab → · Contrast checker → · Palette generator →

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