#87242D#87242D

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

Color values

HEX#87242D
RGBrgb(135, 36, 45)
HSLhsl(355, 58%, 34%)
HSVhsv(355, 73%, 53%)
CMYKcmyk(0%, 73.3%, 66.7%, 47.1%)
CIE-LABlab(30.89, 42.28, 19.30)
CIE-LCHlch(30.89, 46.48, 24.53°)
OKLaboklab(42.06% 0.1252 0.046)
OKLCHoklch(42.06% 0.133 20.2)
XYZxyz(11.0974, 6.6037, 3.1724)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87242D #24877E
analogous
#87245E #87242D #874C24
triadic
#87242D #2D8724 #242D87
tetradic
#87242D #5E8724 #24877E #4C2487
square
#87242D #5E8724 #24877E #4C2487
split-complementary
#87242D #24874C #245E87
monochromatic
#260A0D #57171D #87242D #B7313D #D1545F

Accessibility & contrast

On white

9.05
#87242D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87242D
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87242D#FFFFFF#000000##FFFFFF
##87242D1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2D
Deuteranopia (green-blind)
#58502A
Tritanopia (blue-blind)
#940428
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #87242d;
/* rgb */ color: rgb(135, 36, 45);
/* oklch */ color: oklch(42.1% 0.133 20.2);
Tailwind
colors: {
  custom: {
    50: '#b06665',
    500: '#87242d',
    950: '#000000',
  },
}
SCSS
$custom: #87242d;
$custom-light: #b06665;
$custom-dark: #000000;
JSON
{
  "hex": "#87242d",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 45
  },
  "hsl": {
    "h": 354.545,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42061,
    "c": 0.13333,
    "h": 20.2
  },
  "luminance": 0.06602
}

Semantic roles & 50–950 ramp

primary
#87242D
secondary
#51B5AC
accent
#E1D347
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120605
muted
#817A7A

Preview Lab

Preview with #87242D

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

Preview Lab → · Contrast checker → · Palette generator →

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