#871748#871748

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

Color values

HEX#871748
RGBrgb(135, 23, 72)
HSLhsl(334, 71%, 31%)
HSVhsv(334, 83%, 53%)
CMYKcmyk(0%, 83%, 46.7%, 47.1%)
CIE-LABlab(29.99, 48.83, 0.23)
CIE-LCHlch(29.99, 48.83, 0.27°)
OKLaboklab(41.62% 0.1501 0.0011)
OKLCHoklch(41.62% 0.15 0.4)
XYZxyz(11.4687, 6.2331, 6.7288)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871748 #178756
analogous
#871780 #871748 #871E17
triadic
#871748 #488717 #174887
tetradic
#871748 #808717 #178756 #1E1787
square
#871748 #808717 #178756 #1E1787
split-complementary
#871748 #17871E #178087
monochromatic
#1E0510 #530E2C #871748 #BB2064 #DE3B82

Accessibility & contrast

On white

9.35
#871748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871748
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871748#FFFFFF#000000##FFFFFF
##8717481.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871748;
/* rgb */ color: rgb(135, 23, 72);
/* oklch */ color: oklch(41.6% 0.150 0.4);
Tailwind
colors: {
  custom: {
    50: '#af627a',
    500: '#871748',
    950: '#000000',
  },
}
SCSS
$custom: #871748;
$custom-light: #af627a;
$custom-dark: #000000;
JSON
{
  "hex": "#871748",
  "rgb": {
    "r": 135,
    "g": 23,
    "b": 72
  },
  "hsl": {
    "h": 333.75,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41619,
    "c": 0.15011,
    "h": 0.4
  },
  "luminance": 0.06232
}

Semantic roles & 50–950 ramp

primary
#871748
secondary
#3FBB85
accent
#EE9F3A
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871748

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

Preview Lab → · Contrast checker → · Palette generator →

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