#87272F#87272F

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

Color values

HEX#87272F
RGBrgb(135, 39, 47)
HSLhsl(355, 55%, 34%)
HSVhsv(355, 71%, 53%)
CMYKcmyk(0%, 71.1%, 65.2%, 47.1%)
CIE-LABlab(31.37, 41.19, 18.62)
CIE-LCHlch(31.37, 45.20, 24.32°)
OKLaboklab(42.43% 0.1221 0.0446)
OKLCHoklch(42.43% 0.13 20.1)
XYZxyz(11.2314, 6.8088, 3.4116)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87272F #27877F
analogous
#87275F #87272F #874F27
triadic
#87272F #2F8727 #272F87
tetradic
#87272F #5F8727 #27877F #4F2787
square
#87272F #5F8727 #27877F #4F2787
split-complementary
#87272F #27874F #275F87
monochromatic
#280C0E #58191E #87272F #B63540 #CF5963

Accessibility & contrast

On white

8.89
#87272F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87272F
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87272F#FFFFFF#000000##FFFFFF
##87272F1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413D2F
Deuteranopia (green-blind)
#59512C
Tritanopia (blue-blind)
#940D2B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #87272f;
/* rgb */ color: rgb(135, 39, 47);
/* oklch */ color: oklch(42.4% 0.130 20.1);
Tailwind
colors: {
  custom: {
    50: '#b06867',
    500: '#87272f',
    950: '#000000',
  },
}
SCSS
$custom: #87272f;
$custom-light: #b06867;
$custom-dark: #000000;
JSON
{
  "hex": "#87272f",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 47
  },
  "hsl": {
    "h": 355,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42431,
    "c": 0.13,
    "h": 20.1
  },
  "luminance": 0.06807
}

Semantic roles & 50–950 ramp

primary
#87272F
secondary
#56B4AC
accent
#DFD249
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #87272F

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

Preview Lab → · Contrast checker → · Palette generator →

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