#871946#871946

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

Color values

HEX#871946
RGBrgb(135, 25, 70)
HSLhsl(335, 69%, 31%)
HSVhsv(335, 81%, 53%)
CMYKcmyk(0%, 81.5%, 48.1%, 47.1%)
CIE-LABlab(30.13, 48.06, 1.76)
CIE-LCHlch(30.13, 48.10, 2.09°)
OKLaboklab(41.7% 0.1475 0.005)
OKLCHoklch(41.7% 0.148 2)
XYZxyz(11.4458, 6.2899, 6.4045)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871946 #19875A
analogous
#87197D #871946 #872319
triadic
#871946 #468719 #194687
tetradic
#871946 #7D8719 #19875A #231987
square
#871946 #7D8719 #19875A #231987
split-complementary
#871946 #198723 #197D87
monochromatic
#200610 #530F2B #871946 #BB2361 #DB3F7F

Accessibility & contrast

On white

9.30
#871946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871946
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871946#FFFFFF#000000##FFFFFF
##8719461.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343947
Deuteranopia (green-blind)
#524F43
Tritanopia (blue-blind)
#93002D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871946;
/* rgb */ color: rgb(135, 25, 70);
/* oklch */ color: oklch(41.7% 0.148 2.0);
Tailwind
colors: {
  custom: {
    50: '#af6379',
    500: '#871946',
    950: '#000000',
  },
}
SCSS
$custom: #871946;
$custom-light: #af6379;
$custom-dark: #000000;
JSON
{
  "hex": "#871946",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 70
  },
  "hsl": {
    "h": 335.455,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41701,
    "c": 0.14763,
    "h": 2
  },
  "luminance": 0.06288
}

Semantic roles & 50–950 ramp

primary
#871946
secondary
#41BA89
accent
#ECA43C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871946

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

Preview Lab → · Contrast checker → · Palette generator →

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