#871833#871833

#871833 is a dark, vivid red. Relative luminance 0.060; OKLCH L 41.1% C 0.145 H 13.3°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#871833
RGBrgb(135, 24, 51)
HSLhsl(345, 70%, 31%)
HSVhsv(345, 82%, 53%)
CMYKcmyk(0%, 82.2%, 62.2%, 47.1%)
CIE-LABlab(29.53, 46.82, 13.58)
CIE-LCHlch(29.53, 48.75, 16.17°)
OKLaboklab(41.09% 0.141 0.0334)
OKLCHoklch(41.09% 0.145 13.3)
XYZxyz(10.9170, 6.0448, 3.7233)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871833 #18876C
analogous
#87186A #871833 #873418
triadic
#871833 #338718 #183387
tetradic
#871833 #6A8718 #18876C #341887
square
#871833 #6A8718 #18876C #341887
split-complementary
#871833 #188734 #186A87
monochromatic
#1F060C #530F1F #871833 #BB2147 #DC3D64

Accessibility & contrast

On white

9.51
#871833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#871833 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871833
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871833#FFFFFF#000000##FFFFFF
##8718331.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383733
Deuteranopia (green-blind)
#544E30
Tritanopia (blue-blind)
#940024
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871833;
/* rgb */ color: rgb(135, 24, 51);
/* oklch */ color: oklch(41.1% 0.145 13.3);
Tailwind
colors: {
  custom: {
    50: '#b1626a',
    500: '#871833',
    950: '#000000',
  },
}
SCSS
$custom: #871833;
$custom-light: #b1626a;
$custom-dark: #000000;
JSON
{
  "hex": "#871833",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 51
  },
  "hsl": {
    "h": 345.405,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4109,
    "c": 0.14486,
    "h": 13.3
  },
  "luminance": 0.06043
}

Semantic roles & 50–950 ramp

primary
#871833
secondary
#40BB9D
accent
#EDC13B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871833

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

Preview Lab → · Contrast checker → · Palette generator →

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