#871D46#871D46

#871D46 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.144 H 2.7°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#871D46
RGBrgb(135, 29, 70)
HSLhsl(337, 65%, 32%)
HSVhsv(337, 79%, 53%)
CMYKcmyk(0%, 78.5%, 48.1%, 47.1%)
CIE-LABlab(30.58, 46.81, 2.40)
CIE-LCHlch(30.58, 46.87, 2.94°)
OKLaboklab(42.03% 0.1435 0.0067)
OKLCHoklch(42.03% 0.144 2.7)
XYZxyz(11.5375, 6.4734, 6.4351)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D46 #1D875E
analogous
#871D7B #871D46 #87291D
triadic
#871D46 #46871D #1D4687
tetradic
#871D46 #7B871D #1D875E #291D87
square
#871D46 #7B871D #1D875E #291D87
split-complementary
#871D46 #1D8729 #1D7B87
monochromatic
#220712 #55122C #871D46 #B92860 #D7477F

Accessibility & contrast

On white

9.15
#871D46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#871D46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871D46
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D46#FFFFFF#000000##FFFFFF
##871D461.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363B47
Deuteranopia (green-blind)
#534F44
Tritanopia (blue-blind)
#93052F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871d46;
/* rgb */ color: rgb(135, 29, 70);
/* oklch */ color: oklch(42.0% 0.144 2.7);
Tailwind
colors: {
  custom: {
    50: '#af6479',
    500: '#871d46',
    950: '#000000',
  },
}
SCSS
$custom: #871d46;
$custom-light: #af6479;
$custom-dark: #000000;
JSON
{
  "hex": "#871d46",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 70
  },
  "hsl": {
    "h": 336.792,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42027,
    "c": 0.14365,
    "h": 2.7
  },
  "luminance": 0.06472
}

Semantic roles & 50–950 ramp

primary
#871D46
secondary
#46B98D
accent
#E8A740
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871D46

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

Preview Lab → · Contrast checker → · Palette generator →

#871D46 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva