#871A43#871A43

#871A43 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.146 H 4.0°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#871A43
RGBrgb(135, 26, 67)
HSLhsl(337, 68%, 32%)
HSVhsv(337, 81%, 53%)
CMYKcmyk(0%, 80.7%, 50.4%, 47.1%)
CIE-LABlab(30.15, 47.49, 3.78)
CIE-LCHlch(30.15, 47.64, 4.55°)
OKLaboklab(41.68% 0.1455 0.0101)
OKLCHoklch(41.68% 0.146 4)
XYZxyz(11.3752, 6.2965, 5.9255)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A43 #1A875E
analogous
#871A7A #871A43 #87281A
triadic
#871A43 #43871A #1A4387
tetradic
#871A43 #7A871A #1A875E #281A87
square
#871A43 #7A871A #1A875E #281A87
split-complementary
#871A43 #1A8728 #1A7A87
monochromatic
#200610 #54102A #871A43 #BA245C #DA417B

Accessibility & contrast

On white

9.30
#871A43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#871A43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A43
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A43#FFFFFF#000000##FFFFFF
##871A431.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363944
Deuteranopia (green-blind)
#524F40
Tritanopia (blue-blind)
#93002C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871a43;
/* rgb */ color: rgb(135, 26, 67);
/* oklch */ color: oklch(41.7% 0.146 4.0);
Tailwind
colors: {
  custom: {
    50: '#af6376',
    500: '#871a43',
    950: '#000000',
  },
}
SCSS
$custom: #871a43;
$custom-light: #af6376;
$custom-dark: #000000;
JSON
{
  "hex": "#871a43",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 67
  },
  "hsl": {
    "h": 337.431,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41683,
    "c": 0.1458,
    "h": 4
  },
  "luminance": 0.06295
}

Semantic roles & 50–950 ramp

primary
#871A43
secondary
#42BA8D
accent
#EBA93D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871A43

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

Preview Lab → · Contrast checker → · Palette generator →

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