#87251E#87251E

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

Color values

HEX#87251E
RGBrgb(135, 37, 30)
HSLhsl(4, 64%, 32%)
HSVhsv(4, 78%, 53%)
CMYKcmyk(0%, 72.6%, 77.8%, 47.1%)
CIE-LABlab(30.81, 41.09, 28.62)
CIE-LCHlch(30.81, 50.07, 34.86°)
OKLaboklab(41.93% 0.1181 0.0637)
OKLCHoklch(41.93% 0.134 28.4)
XYZxyz(10.8888, 6.5694, 1.9227)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87251E #1E8087
analogous
#871E4C #87251E #875A1E
triadic
#87251E #1E8725 #251E87
tetradic
#87251E #4C871E #1E8087 #5A1E87
square
#87251E #4C871E #1E8087 #5A1E87
split-complementary
#87251E #1E875A #1E4C87
monochromatic
#230A08 #551713 #87251E #B93329 #D75249

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87251E#FFFFFF#000000##FFFFFF
##87251E1.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)
#423B1C
Deuteranopia (green-blind)
#5A501A
Tritanopia (blue-blind)
#950024
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #87251e;
/* rgb */ color: rgb(135, 37, 30);
/* oklch */ color: oklch(41.9% 0.134 28.4);
Tailwind
colors: {
  custom: {
    50: '#b2675a',
    500: '#87251e',
    950: '#000000',
  },
}
SCSS
$custom: #87251e;
$custom-light: #b2675a;
$custom-dark: #000000;
JSON
{
  "hex": "#87251e",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 30
  },
  "hsl": {
    "h": 4,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41928,
    "c": 0.13414,
    "h": 28.4
  },
  "luminance": 0.06568
}

Semantic roles & 50–950 ramp

primary
#87251E
secondary
#48B1B9
accent
#DCE741
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #87251E

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

Preview Lab → · Contrast checker → · Palette generator →

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