#871947#871947

#871947 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.148 H 1.3°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#871947
RGBrgb(135, 25, 71)
HSLhsl(335, 69%, 31%)
HSVhsv(335, 81%, 53%)
CMYKcmyk(0%, 81.5%, 47.4%, 47.1%)
CIE-LABlab(30.16, 48.16, 1.14)
CIE-LCHlch(30.16, 48.17, 1.35°)
OKLaboklab(41.73% 0.1479 0.0035)
OKLCHoklch(41.73% 0.148 1.3)
XYZxyz(11.4776, 6.3027, 6.5722)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871947 #198759
analogous
#87197E #871947 #872219
triadic
#871947 #478719 #194787
tetradic
#871947 #7E8719 #198759 #221987
square
#871947 #7E8719 #198759 #221987
split-complementary
#871947 #198722 #197E87
monochromatic
#200611 #530F2C #871947 #BB2362 #DB3F80

Accessibility & contrast

On white

9.29
#871947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#871947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871947
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871947#FFFFFF#000000##FFFFFF
##8719471.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343A48
Deuteranopia (green-blind)
#514F44
Tritanopia (blue-blind)
#93002E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871947;
/* rgb */ color: rgb(135, 25, 71);
/* oklch */ color: oklch(41.7% 0.148 1.3);
Tailwind
colors: {
  custom: {
    50: '#af637a',
    500: '#871947',
    950: '#000000',
  },
}
SCSS
$custom: #871947;
$custom-light: #af637a;
$custom-dark: #000000;
JSON
{
  "hex": "#871947",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 71
  },
  "hsl": {
    "h": 334.909,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41734,
    "c": 0.14794,
    "h": 1.3
  },
  "luminance": 0.06301
}

Semantic roles & 50–950 ramp

primary
#871947
secondary
#41BA88
accent
#ECA23C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871947

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

Preview Lab → · Contrast checker → · Palette generator →

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