#871952#871952

#871952 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.152 H 354.7°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#871952
RGBrgb(135, 25, 82)
HSLhsl(329, 69%, 31%)
HSVhsv(329, 81%, 53%)
CMYKcmyk(0%, 81.5%, 39.3%, 47.1%)
CIE-LABlab(30.54, 49.28, -5.58)
CIE-LCHlch(30.54, 49.60, 353.54°)
OKLaboklab(42.13% 0.1516 -0.0141)
OKLCHoklch(42.13% 0.152 354.7)
XYZxyz(11.8631, 6.4569, 8.6026)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871952 #19874E
analogous
#851987 #871952 #87191B
triadic
#871952 #528719 #195287
tetradic
#871952 #878519 #19874E #191B87
square
#871952 #878519 #19874E #191B87
split-complementary
#871952 #1B8719 #198785
monochromatic
#200613 #530F33 #871952 #BB2371 #DB3F90

Accessibility & contrast

On white

9.17
#871952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#871952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871952
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871952#FFFFFF#000000##FFFFFF
##8719521.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303B53
Deuteranopia (green-blind)
#4F4F50
Tritanopia (blue-blind)
#920833
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871952;
/* rgb */ color: rgb(135, 25, 82);
/* oklch */ color: oklch(42.1% 0.152 354.7);
Tailwind
colors: {
  custom: {
    50: '#af6382',
    500: '#871952',
    950: '#000000',
  },
}
SCSS
$custom: #871952;
$custom-light: #af6382;
$custom-dark: #000000;
JSON
{
  "hex": "#871952",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 82
  },
  "hsl": {
    "h": 328.909,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42129,
    "c": 0.15221,
    "h": 354.7
  },
  "luminance": 0.06455
}

Semantic roles & 50–950 ramp

primary
#871952
secondary
#41BA7C
accent
#EC913C
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871952

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

Preview Lab → · Contrast checker → · Palette generator →

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