#871627#871627

#871627 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.7% C 0.146 H 19.5°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#871627
RGBrgb(135, 22, 39)
HSLhsl(351, 72%, 31%)
HSVhsv(351, 84%, 53%)
CMYKcmyk(0%, 83.7%, 71.1%, 47.1%)
CIE-LABlab(29.09, 46.67, 20.96)
CIE-LCHlch(29.09, 51.16, 24.18°)
OKLaboklab(40.69% 0.1379 0.0488)
OKLCHoklch(40.69% 0.146 19.5)
XYZxyz(10.6460, 5.8729, 2.4921)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871627 #168776
analogous
#87165F #871627 #873D16
triadic
#871627 #278716 #162787
tetradic
#871627 #5F8716 #168776 #3D1687
square
#871627 #5F8716 #168776 #3D1687
split-complementary
#871627 #16873D #165F87
monochromatic
#1E0509 #520D18 #871627 #BC1F36 #DF3952

Accessibility & contrast

On white

9.66
#871627 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#871627 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871627
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871627#FFFFFF#000000##FFFFFF
##8716271.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393527
Deuteranopia (green-blind)
#554D23
Tritanopia (blue-blind)
#95001E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #871627;
/* rgb */ color: rgb(135, 22, 39);
/* oklch */ color: oklch(40.7% 0.146 19.5);
Tailwind
colors: {
  custom: {
    50: '#b26161',
    500: '#871627',
    950: '#000000',
  },
}
SCSS
$custom: #871627;
$custom-light: #b26161;
$custom-dark: #000000;
JSON
{
  "hex": "#871627",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 39
  },
  "hsl": {
    "h": 350.973,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40693,
    "c": 0.14625,
    "h": 19.5
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#871627
secondary
#3EBBA8
accent
#EFD339
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120505
muted
#817A79

Preview Lab

Preview with #871627

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

Preview Lab → · Contrast checker → · Palette generator →

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