#871949#871949

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

Color values

HEX#871949
RGBrgb(135, 25, 73)
HSLhsl(334, 69%, 31%)
HSVhsv(334, 81%, 53%)
CMYKcmyk(0%, 81.5%, 45.9%, 47.1%)
CIE-LABlab(30.23, 48.35, -0.10)
CIE-LCHlch(30.23, 48.35, 359.89°)
OKLaboklab(41.8% 0.1486 0.0003)
OKLCHoklch(41.8% 0.149 0.1)
XYZxyz(11.5428, 6.3288, 6.9158)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871949 #198757
analogous
#871980 #871949 #872019
triadic
#871949 #498719 #194987
tetradic
#871949 #808719 #198757 #201987
square
#871949 #808719 #198757 #201987
split-complementary
#871949 #198720 #198087
monochromatic
#200611 #530F2D #871949 #BB2365 #DB3F83

Accessibility & contrast

On white

9.27
#871949 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#871949 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871949
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871949#FFFFFF#000000##FFFFFF
##8719491.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333A4A
Deuteranopia (green-blind)
#514F46
Tritanopia (blue-blind)
#93002F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871949;
/* rgb */ color: rgb(135, 25, 73);
/* oklch */ color: oklch(41.8% 0.149 0.1);
Tailwind
colors: {
  custom: {
    50: '#af637b',
    500: '#871949',
    950: '#000000',
  },
}
SCSS
$custom: #871949;
$custom-light: #af637b;
$custom-dark: #000000;
JSON
{
  "hex": "#871949",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 73
  },
  "hsl": {
    "h": 333.818,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41801,
    "c": 0.14862,
    "h": 0.1
  },
  "luminance": 0.06327
}

Semantic roles & 50–950 ramp

primary
#871949
secondary
#41BA86
accent
#EC9F3C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871949

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

Preview Lab → · Contrast checker → · Palette generator →

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