#871F4F#871F4F

#871F4F is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.145 H 357.4°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#871F4F
RGBrgb(135, 31, 79)
HSLhsl(332, 63%, 33%)
HSVhsv(332, 77%, 53%)
CMYKcmyk(0%, 77%, 41.5%, 47.1%)
CIE-LABlab(31.11, 47.04, -2.76)
CIE-LCHlch(31.11, 47.13, 356.64°)
OKLaboklab(42.51% 0.1445 -0.0067)
OKLCHoklch(42.51% 0.145 357.4)
XYZxyz(11.8938, 6.6969, 8.0619)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F4F #1F8757
analogous
#871F83 #871F4F #87231F
triadic
#871F4F #4F871F #1F4F87
tetradic
#871F4F #83871F #1F8757 #231F87
square
#871F4F #83871F #1F8757 #231F87
split-complementary
#871F4F #1F8723 #1F8387
monochromatic
#230815 #551432 #871F4F #B92A6C #D64B8B

Accessibility & contrast

On white

8.98
#871F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#871F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F4F
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F4F#FFFFFF#000000##FFFFFF
##871F4F1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353D50
Deuteranopia (green-blind)
#51504D
Tritanopia (blue-blind)
#921034
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871f4f;
/* rgb */ color: rgb(135, 31, 79);
/* oklch */ color: oklch(42.5% 0.145 357.4);
Tailwind
colors: {
  custom: {
    50: '#af6580',
    500: '#871f4f',
    950: '#000000',
  },
}
SCSS
$custom: #871f4f;
$custom-light: #af6580;
$custom-dark: #000000;
JSON
{
  "hex": "#871f4f",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 332.308,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42511,
    "c": 0.14465,
    "h": 357.4
  },
  "luminance": 0.06695
}

Semantic roles & 50–950 ramp

primary
#871F4F
secondary
#4AB885
accent
#E69A42
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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