#87251D#87251D

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

Color values

HEX#87251D
RGBrgb(135, 37, 29)
HSLhsl(5, 65%, 32%)
HSVhsv(5, 79%, 53%)
CMYKcmyk(0%, 72.6%, 78.5%, 47.1%)
CIE-LABlab(30.79, 41.05, 29.20)
CIE-LCHlch(30.79, 50.38, 35.43°)
OKLaboklab(41.92% 0.1177 0.0647)
OKLCHoklch(41.92% 0.134 28.8)
XYZxyz(10.8763, 6.5644, 1.8565)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87251D #1D7F87
analogous
#871D4A #87251D #875A1D
triadic
#87251D #1D8725 #251D87
tetradic
#87251D #4A871D #1D7F87 #5A1D87
square
#87251D #4A871D #1D7F87 #5A1D87
split-complementary
#87251D #1D875A #1D4A87
monochromatic
#220907 #551712 #87251D #B93328 #D75247

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87251D#FFFFFF#000000##FFFFFF
##87251D1.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)
#423B1B
Deuteranopia (green-blind)
#5A5019
Tritanopia (blue-blind)
#950024
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #87251d;
/* rgb */ color: rgb(135, 37, 29);
/* oklch */ color: oklch(41.9% 0.134 28.8);
Tailwind
colors: {
  custom: {
    50: '#b26659',
    500: '#87251d',
    950: '#000000',
  },
}
SCSS
$custom: #87251d;
$custom-light: #b26659;
$custom-dark: #000000;
JSON
{
  "hex": "#87251d",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 29
  },
  "hsl": {
    "h": 4.528,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41915,
    "c": 0.13431,
    "h": 28.8
  },
  "luminance": 0.06563
}

Semantic roles & 50–950 ramp

primary
#87251D
secondary
#46B1B9
accent
#DBE840
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #87251D

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

Preview Lab → · Contrast checker → · Palette generator →

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