#87251F#87251F

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

Color values

HEX#87251F
RGBrgb(135, 37, 31)
HSLhsl(3, 63%, 33%)
HSVhsv(3, 77%, 53%)
CMYKcmyk(0%, 72.6%, 77%, 47.1%)
CIE-LABlab(30.82, 41.13, 28.03)
CIE-LCHlch(30.82, 49.78, 34.27°)
OKLaboklab(41.94% 0.1184 0.0627)
OKLCHoklch(41.94% 0.134 27.9)
XYZxyz(10.9018, 6.5746, 1.9910)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87251F #1F8187
analogous
#871F4D #87251F #87591F
triadic
#87251F #1F8725 #251F87
tetradic
#87251F #4D871F #1F8187 #591F87
square
#87251F #4D871F #1F8187 #591F87
split-complementary
#87251F #1F8759 #1F4D87
monochromatic
#230A08 #551714 #87251F #B9332A #D6534B

Accessibility & contrast

On white

9.07
#87251F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87251F
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87251F#FFFFFF#000000##FFFFFF
##87251F1.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413B1D
Deuteranopia (green-blind)
#5A501B
Tritanopia (blue-blind)
#950125
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #87251f;
/* rgb */ color: rgb(135, 37, 31);
/* oklch */ color: oklch(41.9% 0.134 27.9);
Tailwind
colors: {
  custom: {
    50: '#b1675b',
    500: '#87251f',
    950: '#000000',
  },
}
SCSS
$custom: #87251f;
$custom-light: #b1675b;
$custom-dark: #000000;
JSON
{
  "hex": "#87251f",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 31
  },
  "hsl": {
    "h": 3.462,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41941,
    "c": 0.13398,
    "h": 27.9
  },
  "luminance": 0.06573
}

Semantic roles & 50–950 ramp

primary
#87251F
secondary
#4AB2B8
accent
#DCE642
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #87251F

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

Preview Lab → · Contrast checker → · Palette generator →

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