#87251C#87251C

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

Color values

HEX#87251C
RGBrgb(135, 37, 28)
HSLhsl(5, 66%, 32%)
HSVhsv(5, 79%, 53%)
CMYKcmyk(0%, 72.6%, 79.3%, 47.1%)
CIE-LABlab(30.78, 41.01, 29.78)
CIE-LCHlch(30.78, 50.68, 35.99°)
OKLaboklab(41.9% 0.1174 0.0657)
OKLCHoklch(41.9% 0.134 29.2)
XYZxyz(10.8641, 6.5595, 1.7924)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87251C #1C7E87
analogous
#871C49 #87251C #875B1C
triadic
#87251C #1C8725 #251C87
tetradic
#87251C #49871C #1C7E87 #5B1C87
square
#87251C #49871C #1C7E87 #5B1C87
split-complementary
#87251C #1C875B #1C4987
monochromatic
#220907 #541711 #87251C #BA3327 #D85145

Accessibility & contrast

On white

9.08
#87251C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87251C
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87251C#FFFFFF#000000##FFFFFF
##87251C1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87251c;
/* rgb */ color: rgb(135, 37, 28);
/* oklch */ color: oklch(41.9% 0.134 29.2);
Tailwind
colors: {
  custom: {
    50: '#b26659',
    500: '#87251c',
    950: '#000000',
  },
}
SCSS
$custom: #87251c;
$custom-light: #b26659;
$custom-dark: #000000;
JSON
{
  "hex": "#87251c",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 28
  },
  "hsl": {
    "h": 5.047,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41903,
    "c": 0.13448,
    "h": 29.2
  },
  "luminance": 0.06558
}

Semantic roles & 50–950 ramp

primary
#87251C
secondary
#45B0BA
accent
#DAE93F
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #87251C

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

Preview Lab → · Contrast checker → · Palette generator →

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