#871941#871941

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

Color values

HEX#871941
RGBrgb(135, 25, 65)
HSLhsl(338, 69%, 31%)
HSVhsv(338, 81%, 53%)
CMYKcmyk(0%, 81.5%, 51.9%, 47.1%)
CIE-LABlab(29.98, 47.61, 4.87)
CIE-LCHlch(29.98, 47.86, 5.84°)
OKLaboklab(41.54% 0.1457 0.0128)
OKLCHoklch(41.54% 0.146 5)
XYZxyz(11.2945, 6.2294, 5.6077)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871941 #19875F
analogous
#871978 #871941 #872819
triadic
#871941 #418719 #194187
tetradic
#871941 #788719 #19875F #281987
square
#871941 #788719 #19875F #281987
split-complementary
#871941 #198728 #197887
monochromatic
#20060F #530F28 #871941 #BB235A #DB3F78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871941#FFFFFF#000000##FFFFFF
##8719411.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)
#363942
Deuteranopia (green-blind)
#524E3E
Tritanopia (blue-blind)
#94002B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871941;
/* rgb */ color: rgb(135, 25, 65);
/* oklch */ color: oklch(41.5% 0.146 5.0);
Tailwind
colors: {
  custom: {
    50: '#b06275',
    500: '#871941',
    950: '#000000',
  },
}
SCSS
$custom: #871941;
$custom-light: #b06275;
$custom-dark: #000000;
JSON
{
  "hex": "#871941",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 65
  },
  "hsl": {
    "h": 338.182,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41543,
    "c": 0.14623,
    "h": 5
  },
  "luminance": 0.06228
}

Semantic roles & 50–950 ramp

primary
#871941
secondary
#41BA8E
accent
#ECAC3C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871941

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

Preview Lab → · Contrast checker → · Palette generator →

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