#87242E#87242E

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

Color values

HEX#87242E
RGBrgb(135, 36, 46)
HSLhsl(354, 58%, 34%)
HSVhsv(354, 73%, 53%)
CMYKcmyk(0%, 73.3%, 65.9%, 47.1%)
CIE-LABlab(30.91, 42.34, 18.67)
CIE-LCHlch(30.91, 46.28, 23.80°)
OKLaboklab(42.08% 0.1256 0.0447)
OKLCHoklch(42.08% 0.133 19.6)
XYZxyz(11.1168, 6.6115, 3.2750)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87242E #24877D
analogous
#87245F #87242E #874B24
triadic
#87242E #2E8724 #242E87
tetradic
#87242E #5F8724 #24877D #4B2487
square
#87242E #5F8724 #24877D #4B2487
split-complementary
#87242E #24874B #245F87
monochromatic
#260A0D #57171E #87242E #B7313E #D15461

Accessibility & contrast

On white

9.04
#87242E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87242E
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87242E#FFFFFF#000000##FFFFFF
##87242E1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2E
Deuteranopia (green-blind)
#58502B
Tritanopia (blue-blind)
#940528
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #87242e;
/* rgb */ color: rgb(135, 36, 46);
/* oklch */ color: oklch(42.1% 0.133 19.6);
Tailwind
colors: {
  custom: {
    50: '#b06666',
    500: '#87242e',
    950: '#000000',
  },
}
SCSS
$custom: #87242e;
$custom-light: #b06666;
$custom-dark: #000000;
JSON
{
  "hex": "#87242e",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 46
  },
  "hsl": {
    "h": 353.939,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42081,
    "c": 0.13328,
    "h": 19.6
  },
  "luminance": 0.0661
}

Semantic roles & 50–950 ramp

primary
#87242E
secondary
#51B5AB
accent
#E1D247
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #87242E

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

Preview Lab → · Contrast checker → · Palette generator →

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