#871628#871628

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

Color values

HEX#871628
RGBrgb(135, 22, 40)
HSLhsl(350, 72%, 31%)
HSVhsv(350, 84%, 53%)
CMYKcmyk(0%, 83.7%, 70.4%, 47.1%)
CIE-LABlab(29.11, 46.72, 20.32)
CIE-LCHlch(29.11, 50.95, 23.51°)
OKLaboklab(40.71% 0.1383 0.0476)
OKLCHoklch(40.71% 0.146 19)
XYZxyz(10.6628, 5.8796, 2.5805)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871628 #168775
analogous
#871661 #871628 #873C16
triadic
#871628 #288716 #162887
tetradic
#871628 #618716 #168775 #3C1687
square
#871628 #618716 #168775 #3C1687
split-complementary
#871628 #16873C #166187
monochromatic
#1E0509 #520D18 #871628 #BC1F38 #DF3953

Accessibility & contrast

On white

9.65
#871628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#871628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871628
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871628#FFFFFF#000000##FFFFFF
##8716281.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871628;
/* rgb */ color: rgb(135, 22, 40);
/* oklch */ color: oklch(40.7% 0.146 19.0);
Tailwind
colors: {
  custom: {
    50: '#b16161',
    500: '#871628',
    950: '#000000',
  },
}
SCSS
$custom: #871628;
$custom-light: #b16161;
$custom-dark: #000000;
JSON
{
  "hex": "#871628",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 40
  },
  "hsl": {
    "h": 350.442,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40711,
    "c": 0.14621,
    "h": 19
  },
  "luminance": 0.05878
}

Semantic roles & 50–950 ramp

primary
#871628
secondary
#3EBBA7
accent
#EFD239
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120505
muted
#817A79

Preview Lab

Preview with #871628

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

Preview Lab → · Contrast checker → · Palette generator →

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