#872427#872427

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

Color values

HEX#872427
RGBrgb(135, 36, 39)
HSLhsl(358, 58%, 34%)
HSVhsv(358, 73%, 53%)
CMYKcmyk(0%, 73.3%, 71.1%, 47.1%)
CIE-LABlab(30.79, 41.93, 23.02)
CIE-LCHlch(30.79, 47.83, 28.77°)
OKLaboklab(41.95% 0.1227 0.0534)
OKLCHoklch(41.95% 0.134 23.5)
XYZxyz(10.9900, 6.5608, 2.6067)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872427 #248784
analogous
#872458 #872427 #875224
triadic
#872427 #278724 #242787
tetradic
#872427 #588724 #248784 #522487
square
#872427 #588724 #248784 #522487
split-complementary
#872427 #248752 #245887
monochromatic
#260A0B #571719 #872427 #B73135 #D15458

Accessibility & contrast

On white

9.08
#872427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#872427 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##872427#FFFFFF#000000##FFFFFF
##8724271.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)
#403B26
Deuteranopia (green-blind)
#595024
Tritanopia (blue-blind)
#950126
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #872427;
/* rgb */ color: rgb(135, 36, 39);
/* oklch */ color: oklch(42.0% 0.134 23.5);
Tailwind
colors: {
  custom: {
    50: '#b16661',
    500: '#872427',
    950: '#000000',
  },
}
SCSS
$custom: #872427;
$custom-light: #b16661;
$custom-dark: #000000;
JSON
{
  "hex": "#872427",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 39
  },
  "hsl": {
    "h": 358.182,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41952,
    "c": 0.13385,
    "h": 23.5
  },
  "luminance": 0.06559
}

Semantic roles & 50–950 ramp

primary
#872427
secondary
#51B5B2
accent
#E1DC47
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #872427

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

Preview Lab → · Contrast checker → · Palette generator →

#872427 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva