#871830#871830

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

Color values

HEX#871830
RGBrgb(135, 24, 48)
HSLhsl(347, 70%, 31%)
HSVhsv(347, 82%, 53%)
CMYKcmyk(0%, 82.2%, 64.4%, 47.1%)
CIE-LABlab(29.46, 46.62, 15.49)
CIE-LCHlch(29.46, 49.12, 18.38°)
OKLaboklab(41.02% 0.1397 0.0376)
OKLCHoklch(41.02% 0.145 15)
XYZxyz(10.8530, 6.0192, 3.3861)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871830 #18876F
analogous
#871867 #871830 #873718
triadic
#871830 #308718 #183087
tetradic
#871830 #678718 #18876F #371887
square
#871830 #678718 #18876F #371887
split-complementary
#871830 #188737 #186787
monochromatic
#1F060B #530F1E #871830 #BB2142 #DC3D5F

Accessibility & contrast

On white

9.53
#871830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#871830 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871830
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871830#FFFFFF#000000##FFFFFF
##8718301.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393730
Deuteranopia (green-blind)
#554E2D
Tritanopia (blue-blind)
#940023
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #871830;
/* rgb */ color: rgb(135, 24, 48);
/* oklch */ color: oklch(41.0% 0.145 15.0);
Tailwind
colors: {
  custom: {
    50: '#b16168',
    500: '#871830',
    950: '#000000',
  },
}
SCSS
$custom: #871830;
$custom-light: #b16168;
$custom-dark: #000000;
JSON
{
  "hex": "#871830",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 48
  },
  "hsl": {
    "h": 347.027,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41022,
    "c": 0.14468,
    "h": 15
  },
  "luminance": 0.06018
}

Semantic roles & 50–950 ramp

primary
#871830
secondary
#40BBA0
accent
#EDC63B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871830

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

Preview Lab → · Contrast checker → · Palette generator →

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