#87251A#87251A

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

Color values

HEX#87251A
RGBrgb(135, 37, 26)
HSLhsl(6, 68%, 32%)
HSVhsv(6, 81%, 53%)
CMYKcmyk(0%, 72.6%, 80.7%, 47.1%)
CIE-LABlab(30.76, 40.93, 30.92)
CIE-LCHlch(30.76, 51.30, 37.07°)
OKLaboklab(41.88% 0.1167 0.0675)
OKLCHoklch(41.88% 0.135 30.1)
XYZxyz(10.8410, 6.5503, 1.6706)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87251A #1A7C87
analogous
#871A46 #87251A #875C1A
triadic
#87251A #1A8725 #251A87
tetradic
#87251A #46871A #1A7C87 #5C1A87
square
#87251A #46871A #1A7C87 #5C1A87
split-complementary
#87251A #1A875C #1A4687
monochromatic
#200906 #541710 #87251A #BA3324 #DA5041

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87251A#FFFFFF#000000##FFFFFF
##87251A1.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)
#423B18
Deuteranopia (green-blind)
#5A5016
Tritanopia (blue-blind)
#950023
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #87251a;
/* rgb */ color: rgb(135, 37, 26);
/* oklch */ color: oklch(41.9% 0.135 30.1);
Tailwind
colors: {
  custom: {
    50: '#b26657',
    500: '#87251a',
    950: '#000000',
  },
}
SCSS
$custom: #87251a;
$custom-light: #b26657;
$custom-dark: #000000;
JSON
{
  "hex": "#87251a",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 26
  },
  "hsl": {
    "h": 6.055,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41879,
    "c": 0.13483,
    "h": 30.1
  },
  "luminance": 0.06549
}

Semantic roles & 50–950 ramp

primary
#87251A
secondary
#42AEBA
accent
#D9EB3D
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #87251A

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

Preview Lab → · Contrast checker → · Palette generator →

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