#87242C#87242C

#87242C is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.0% C 0.133 H 20.7°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#87242C
RGBrgb(135, 36, 44)
HSLhsl(355, 58%, 34%)
HSVhsv(355, 73%, 53%)
CMYKcmyk(0%, 73.3%, 67.4%, 47.1%)
CIE-LABlab(30.87, 42.22, 19.92)
CIE-LCHlch(30.87, 46.68, 25.26°)
OKLaboklab(42.04% 0.1248 0.0473)
OKLCHoklch(42.04% 0.133 20.7)
XYZxyz(11.0783, 6.5961, 3.0722)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87242C #24877F
analogous
#87245D #87242C #874D24
triadic
#87242C #2C8724 #242C87
tetradic
#87242C #5D8724 #24877F #4D2487
square
#87242C #5D8724 #24877F #4D2487
split-complementary
#87242C #24874D #245D87
monochromatic
#260A0D #57171C #87242C #B7313C #D1545E

Accessibility & contrast

On white

9.06
#87242C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#87242C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87242C
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87242C#FFFFFF#000000##FFFFFF
##87242C1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2C
Deuteranopia (green-blind)
#585029
Tritanopia (blue-blind)
#940428
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #87242c;
/* rgb */ color: rgb(135, 36, 44);
/* oklch */ color: oklch(42.0% 0.133 20.7);
Tailwind
colors: {
  custom: {
    50: '#b16665',
    500: '#87242c',
    950: '#000000',
  },
}
SCSS
$custom: #87242c;
$custom-light: #b16665;
$custom-dark: #000000;
JSON
{
  "hex": "#87242c",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 44
  },
  "hsl": {
    "h": 355.152,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42042,
    "c": 0.1334,
    "h": 20.7
  },
  "luminance": 0.06594
}

Semantic roles & 50–950 ramp

primary
#87242C
secondary
#51B5AD
accent
#E1D547
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120605
muted
#817A7A

Preview Lab

Preview with #87242C

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

Preview Lab → · Contrast checker → · Palette generator →

#87242C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva