#871626#871626

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

Color values

HEX#871626
RGBrgb(135, 22, 38)
HSLhsl(352, 72%, 31%)
HSVhsv(352, 84%, 53%)
CMYKcmyk(0%, 83.7%, 71.9%, 47.1%)
CIE-LABlab(29.07, 46.62, 21.59)
CIE-LCHlch(29.07, 51.37, 24.85°)
OKLaboklab(40.67% 0.1374 0.0501)
OKLCHoklch(40.67% 0.146 20)
XYZxyz(10.6297, 5.8663, 2.4060)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871626 #168777
analogous
#87165E #871626 #873E16
triadic
#871626 #268716 #162687
tetradic
#871626 #5E8716 #168777 #3E1687
square
#871626 #5E8716 #168777 #3E1687
split-complementary
#871626 #16873E #165E87
monochromatic
#1E0508 #520D17 #871626 #BC1F35 #DF3950

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871626#FFFFFF#000000##FFFFFF
##8716261.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)
#393526
Deuteranopia (green-blind)
#554D22
Tritanopia (blue-blind)
#95001D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #871626;
/* rgb */ color: rgb(135, 22, 38);
/* oklch */ color: oklch(40.7% 0.146 20.0);
Tailwind
colors: {
  custom: {
    50: '#b26060',
    500: '#871626',
    950: '#000000',
  },
}
SCSS
$custom: #871626;
$custom-light: #b26060;
$custom-dark: #000000;
JSON
{
  "hex": "#871626",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 38
  },
  "hsl": {
    "h": 351.504,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40675,
    "c": 0.14628,
    "h": 20
  },
  "luminance": 0.05865
}

Semantic roles & 50–950 ramp

primary
#871626
secondary
#3EBBA9
accent
#EFD539
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120504
muted
#817A79

Preview Lab

Preview with #871626

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

Preview Lab → · Contrast checker → · Palette generator →

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