#87251B#87251B

#87251B is a dark, vivid red. Relative luminance 0.066; OKLCH L 41.9% C 0.135 H 29.7°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#87251B
RGBrgb(135, 37, 27)
HSLhsl(6, 67%, 32%)
HSVhsv(6, 80%, 53%)
CMYKcmyk(0%, 72.6%, 80%, 47.1%)
CIE-LABlab(30.77, 40.97, 30.36)
CIE-LCHlch(30.77, 50.99, 36.54°)
OKLaboklab(41.89% 0.117 0.0666)
OKLCHoklch(41.89% 0.135 29.7)
XYZxyz(10.8523, 6.5548, 1.7305)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87251B #1B7D87
analogous
#871B47 #87251B #875B1B
triadic
#87251B #1B8725 #251B87
tetradic
#87251B #47871B #1B7D87 #5B1B87
square
#87251B #47871B #1B7D87 #5B1B87
split-complementary
#87251B #1B875B #1B4787
monochromatic
#210907 #541711 #87251B #BA3325 #D95143

Accessibility & contrast

On white

9.09
#87251B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#87251B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87251B
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87251B#FFFFFF#000000##FFFFFF
##87251B1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B19
Deuteranopia (green-blind)
#5A5017
Tritanopia (blue-blind)
#950024
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #87251b;
/* rgb */ color: rgb(135, 37, 27);
/* oklch */ color: oklch(41.9% 0.135 29.7);
Tailwind
colors: {
  custom: {
    50: '#b26658',
    500: '#87251b',
    950: '#000000',
  },
}
SCSS
$custom: #87251b;
$custom-light: #b26658;
$custom-dark: #000000;
JSON
{
  "hex": "#87251b",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 27
  },
  "hsl": {
    "h": 5.556,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41891,
    "c": 0.13465,
    "h": 29.7
  },
  "luminance": 0.06553
}

Semantic roles & 50–950 ramp

primary
#87251B
secondary
#44AFBA
accent
#DAEA3E
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #87251B

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

Preview Lab → · Contrast checker → · Palette generator →

#87251B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva