#87252F#87252F

#87252F is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.2% C 0.132 H 19.3°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#87252F
RGBrgb(135, 37, 47)
HSLhsl(354, 57%, 34%)
HSVhsv(354, 73%, 53%)
CMYKcmyk(0%, 72.6%, 65.2%, 47.1%)
CIE-LABlab(31.07, 42.01, 18.23)
CIE-LCHlch(31.07, 45.80, 23.46°)
OKLaboklab(42.21% 0.1247 0.0438)
OKLCHoklch(42.21% 0.132 19.3)
XYZxyz(11.1675, 6.6809, 3.3903)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87252F #25877D
analogous
#872560 #87252F #874C25
triadic
#87252F #2F8725 #252F87
tetradic
#87252F #608725 #25877D #4C2587
square
#87252F #608725 #25877D #4C2587
split-complementary
#87252F #25874C #256087
monochromatic
#270B0E #57181E #87252F #B73240 #D15662

Accessibility & contrast

On white

8.99
#87252F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#87252F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87252F
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87252F#FFFFFF#000000##FFFFFF
##87252F1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403C2F
Deuteranopia (green-blind)
#58512C
Tritanopia (blue-blind)
#940829
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #87252f;
/* rgb */ color: rgb(135, 37, 47);
/* oklch */ color: oklch(42.2% 0.132 19.3);
Tailwind
colors: {
  custom: {
    50: '#b06767',
    500: '#87252f',
    950: '#000000',
  },
}
SCSS
$custom: #87252f;
$custom-light: #b06767;
$custom-dark: #000000;
JSON
{
  "hex": "#87252f",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 47
  },
  "hsl": {
    "h": 353.878,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42209,
    "c": 0.13218,
    "h": 19.3
  },
  "luminance": 0.06679
}

Semantic roles & 50–950 ramp

primary
#87252F
secondary
#53B5AB
accent
#E0D148
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #87252F

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

Preview Lab → · Contrast checker → · Palette generator →

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