#871846#871846

#871846 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.6% C 0.149 H 1.8°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#871846
RGBrgb(135, 24, 70)
HSLhsl(335, 70%, 31%)
HSVhsv(335, 82%, 53%)
CMYKcmyk(0%, 82.2%, 48.1%, 47.1%)
CIE-LABlab(30.03, 48.36, 1.61)
CIE-LCHlch(30.03, 48.38, 1.91°)
OKLaboklab(41.63% 0.1485 0.0046)
OKLCHoklch(41.63% 0.149 1.8)
XYZxyz(11.4248, 6.2479, 6.3975)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871846 #188759
analogous
#87187D #871846 #872118
triadic
#871846 #468718 #184687
tetradic
#871846 #7D8718 #188759 #211887
square
#871846 #7D8718 #188759 #211887
split-complementary
#871846 #188721 #187D87
monochromatic
#1F0610 #530F2B #871846 #BB2161 #DC3D7F

Accessibility & contrast

On white

9.34
#871846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#871846 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871846
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871846#FFFFFF#000000##FFFFFF
##8718461.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343947
Deuteranopia (green-blind)
#514E43
Tritanopia (blue-blind)
#93002D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871846;
/* rgb */ color: rgb(135, 24, 70);
/* oklch */ color: oklch(41.6% 0.149 1.8);
Tailwind
colors: {
  custom: {
    50: '#af6279',
    500: '#871846',
    950: '#000000',
  },
}
SCSS
$custom: #871846;
$custom-light: #af6279;
$custom-dark: #000000;
JSON
{
  "hex": "#871846",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 70
  },
  "hsl": {
    "h": 335.135,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41625,
    "c": 0.14856,
    "h": 1.8
  },
  "luminance": 0.06246
}

Semantic roles & 50–950 ramp

primary
#871846
secondary
#40BB88
accent
#EDA33B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871846

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

Preview Lab → · Contrast checker → · Palette generator →

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