#871948#871948

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

Color values

HEX#871948
RGBrgb(135, 25, 72)
HSLhsl(334, 69%, 31%)
HSVhsv(334, 81%, 53%)
CMYKcmyk(0%, 81.5%, 46.7%, 47.1%)
CIE-LABlab(30.20, 48.25, 0.52)
CIE-LCHlch(30.20, 48.26, 0.62°)
OKLaboklab(41.77% 0.1483 0.0019)
OKLCHoklch(41.77% 0.148 0.7)
XYZxyz(11.5099, 6.3156, 6.7426)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871948 #198758
analogous
#87197F #871948 #872119
triadic
#871948 #488719 #194887
tetradic
#871948 #7F8719 #198758 #211987
square
#871948 #7F8719 #198758 #211987
split-complementary
#871948 #198721 #197F87
monochromatic
#200611 #530F2C #871948 #BB2364 #DB3F82

Accessibility & contrast

On white

9.28
#871948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871948
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871948#FFFFFF#000000##FFFFFF
##8719481.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871948;
/* rgb */ color: rgb(135, 25, 72);
/* oklch */ color: oklch(41.8% 0.148 0.7);
Tailwind
colors: {
  custom: {
    50: '#af637a',
    500: '#871948',
    950: '#000000',
  },
}
SCSS
$custom: #871948;
$custom-light: #af637a;
$custom-dark: #000000;
JSON
{
  "hex": "#871948",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 72
  },
  "hsl": {
    "h": 334.364,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41767,
    "c": 0.14827,
    "h": 0.7
  },
  "luminance": 0.06314
}

Semantic roles & 50–950 ramp

primary
#871948
secondary
#41BA87
accent
#ECA13C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871948

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

Preview Lab → · Contrast checker → · Palette generator →

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