#871F46#871F46

#871F46 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.2% C 0.142 H 3.1°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#871F46
RGBrgb(135, 31, 70)
HSLhsl(338, 63%, 33%)
HSVhsv(338, 77%, 53%)
CMYKcmyk(0%, 77%, 48.1%, 47.1%)
CIE-LABlab(30.82, 46.13, 2.75)
CIE-LCHlch(30.82, 46.21, 3.41°)
OKLaboklab(42.21% 0.1413 0.0075)
OKLCHoklch(42.21% 0.142 3.1)
XYZxyz(11.5881, 6.5746, 6.4520)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F46 #1F8760
analogous
#871F7A #871F46 #872C1F
triadic
#871F46 #46871F #1F4687
tetradic
#871F46 #7A871F #1F8760 #2C1F87
square
#871F46 #7A871F #1F8760 #2C1F87
split-complementary
#871F46 #1F872C #1F7A87
monochromatic
#230812 #55142C #871F46 #B92A60 #D64B7F

Accessibility & contrast

On white

9.07
#871F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#871F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F46
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F46#FFFFFF#000000##FFFFFF
##871F461.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373C47
Deuteranopia (green-blind)
#535044
Tritanopia (blue-blind)
#930930
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871f46;
/* rgb */ color: rgb(135, 31, 70);
/* oklch */ color: oklch(42.2% 0.142 3.1);
Tailwind
colors: {
  custom: {
    50: '#af6579',
    500: '#871f46',
    950: '#000000',
  },
}
SCSS
$custom: #871f46;
$custom-light: #af6579;
$custom-dark: #000000;
JSON
{
  "hex": "#871f46",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 70
  },
  "hsl": {
    "h": 337.5,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42205,
    "c": 0.14151,
    "h": 3.1
  },
  "luminance": 0.06573
}

Semantic roles & 50–950 ramp

primary
#871F46
secondary
#4AB88F
accent
#E6A842
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871F46

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

Preview Lab → · Contrast checker → · Palette generator →

#871F46 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva