#87252A#87252A

#87252A is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.1% C 0.133 H 22.2°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#87252A
RGBrgb(135, 37, 42)
HSLhsl(357, 57%, 34%)
HSVhsv(357, 73%, 53%)
CMYKcmyk(0%, 72.6%, 68.9%, 47.1%)
CIE-LABlab(30.98, 41.70, 21.35)
CIE-LCHlch(30.98, 46.84, 27.11°)
OKLaboklab(42.11% 0.1227 0.0502)
OKLCHoklch(42.11% 0.133 22.2)
XYZxyz(11.0723, 6.6428, 2.8892)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87252A #258782
analogous
#87255B #87252A #875125
triadic
#87252A #2A8725 #252A87
tetradic
#87252A #5B8725 #258782 #512587
square
#87252A #5B8725 #258782 #512587
split-complementary
#87252A #258751 #255B87
monochromatic
#270B0C #57181B #87252A #B73239 #D1565C

Accessibility & contrast

On white

9.02
#87252A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#87252A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87252A
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87252A#FFFFFF#000000##FFFFFF
##87252A1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403C29
Deuteranopia (green-blind)
#595127
Tritanopia (blue-blind)
#950528
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #87252a;
/* rgb */ color: rgb(135, 37, 42);
/* oklch */ color: oklch(42.1% 0.133 22.2);
Tailwind
colors: {
  custom: {
    50: '#b16763',
    500: '#87252a',
    950: '#000000',
  },
}
SCSS
$custom: #87252a;
$custom-light: #b16763;
$custom-dark: #000000;
JSON
{
  "hex": "#87252a",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 42
  },
  "hsl": {
    "h": 356.939,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42113,
    "c": 0.13252,
    "h": 22.2
  },
  "luminance": 0.06641
}

Semantic roles & 50–950 ramp

primary
#87252A
secondary
#53B5B0
accent
#E0D848
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #87252A

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

Preview Lab → · Contrast checker → · Palette generator →

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