#87242A#87242A

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

Color values

HEX#87242A
RGBrgb(135, 36, 42)
HSLhsl(356, 58%, 34%)
HSVhsv(356, 73%, 53%)
CMYKcmyk(0%, 73.3%, 68.9%, 47.1%)
CIE-LABlab(30.83, 42.10, 21.17)
CIE-LCHlch(30.83, 47.12, 26.69°)
OKLaboklab(42.01% 0.1239 0.0498)
OKLCHoklch(42.01% 0.134 21.9)
XYZxyz(11.0416, 6.5814, 2.8790)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87242A #248781
analogous
#87245B #87242A #874F24
triadic
#87242A #2A8724 #242A87
tetradic
#87242A #5B8724 #248781 #4F2487
square
#87242A #5B8724 #248781 #4F2487
split-complementary
#87242A #24874F #245B87
monochromatic
#260A0C #57171B #87242A #B73139 #D1545C

Accessibility & contrast

On white

9.07
#87242A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87242A
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87242A#FFFFFF#000000##FFFFFF
##87242A1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B29
Deuteranopia (green-blind)
#595027
Tritanopia (blue-blind)
#950327
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #87242a;
/* rgb */ color: rgb(135, 36, 42);
/* oklch */ color: oklch(42.0% 0.134 21.9);
Tailwind
colors: {
  custom: {
    50: '#b16663',
    500: '#87242a',
    950: '#000000',
  },
}
SCSS
$custom: #87242a;
$custom-light: #b16663;
$custom-dark: #000000;
JSON
{
  "hex": "#87242a",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 42
  },
  "hsl": {
    "h": 356.364,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42005,
    "c": 0.13355,
    "h": 21.9
  },
  "luminance": 0.0658
}

Semantic roles & 50–950 ramp

primary
#87242A
secondary
#51B5AF
accent
#E1D847
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #87242A

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

Preview Lab → · Contrast checker → · Palette generator →

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