#871943#871943

#871943 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.147 H 3.8°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#871943
RGBrgb(135, 25, 67)
HSLhsl(337, 69%, 31%)
HSVhsv(337, 81%, 53%)
CMYKcmyk(0%, 81.5%, 50.4%, 47.1%)
CIE-LABlab(30.04, 47.79, 3.62)
CIE-LCHlch(30.04, 47.92, 4.34°)
OKLaboklab(41.61% 0.1464 0.0097)
OKLCHoklch(41.61% 0.147 3.8)
XYZxyz(11.3534, 6.2530, 5.9182)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871943 #19875D
analogous
#87197A #871943 #872619
triadic
#871943 #438719 #194387
tetradic
#871943 #7A8719 #19875D #261987
square
#871943 #7A8719 #19875D #261987
split-complementary
#871943 #198726 #197A87
monochromatic
#200610 #530F29 #871943 #BB235D #DB3F7B

Accessibility & contrast

On white

9.33
#871943 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871943
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871943#FFFFFF#000000##FFFFFF
##8719431.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871943;
/* rgb */ color: rgb(135, 25, 67);
/* oklch */ color: oklch(41.6% 0.147 3.8);
Tailwind
colors: {
  custom: {
    50: '#af6276',
    500: '#871943',
    950: '#000000',
  },
}
SCSS
$custom: #871943;
$custom-light: #af6276;
$custom-dark: #000000;
JSON
{
  "hex": "#871943",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 67
  },
  "hsl": {
    "h": 337.091,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41605,
    "c": 0.14675,
    "h": 3.8
  },
  "luminance": 0.06251
}

Semantic roles & 50–950 ramp

primary
#871943
secondary
#41BA8C
accent
#ECA93C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871943

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

Preview Lab → · Contrast checker → · Palette generator →

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