#87241F#87241F

#87241F is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.8% C 0.135 H 27.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#87241F
RGBrgb(135, 36, 31)
HSLhsl(3, 63%, 33%)
HSVhsv(3, 77%, 53%)
CMYKcmyk(0%, 73.3%, 77%, 47.1%)
CIE-LABlab(30.67, 41.53, 27.87)
CIE-LCHlch(30.67, 50.02, 33.86°)
OKLaboklab(41.83% 0.1197 0.0623)
OKLCHoklch(41.83% 0.135 27.5)
XYZxyz(10.8711, 6.5132, 1.9808)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87241F #1F8287
analogous
#871F4E #87241F #87581F
triadic
#87241F #1F8724 #241F87
tetradic
#87241F #4E871F #1F8287 #581F87
square
#87241F #4E871F #1F8287 #581F87
split-complementary
#87241F #1F8758 #1F4E87
monochromatic
#230908 #551714 #87241F #B9312A #D6514B

Accessibility & contrast

On white

9.12
#87241F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#87241F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87241F
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87241F#FFFFFF#000000##FFFFFF
##87241F1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A1D
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#950024
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #87241f;
/* rgb */ color: rgb(135, 36, 31);
/* oklch */ color: oklch(41.8% 0.135 27.5);
Tailwind
colors: {
  custom: {
    50: '#b2665b',
    500: '#87241f',
    950: '#000000',
  },
}
SCSS
$custom: #87241f;
$custom-light: #b2665b;
$custom-dark: #000000;
JSON
{
  "hex": "#87241f",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 31
  },
  "hsl": {
    "h": 2.885,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41832,
    "c": 0.13493,
    "h": 27.5
  },
  "luminance": 0.06512
}

Semantic roles & 50–950 ramp

primary
#87241F
secondary
#4AB3B8
accent
#DEE642
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #87241F

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

Preview Lab → · Contrast checker → · Palette generator →

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