#871974#871974

#871974 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.7% C 0.172 H 336.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#871974
RGBrgb(135, 25, 116)
HSLhsl(310, 69%, 31%)
HSVhsv(310, 81%, 53%)
CMYKcmyk(0%, 81.5%, 14.1%, 47.1%)
CIE-LABlab(32.05, 53.70, -25.23)
CIE-LCHlch(32.05, 59.33, 334.84°)
OKLaboklab(43.72% 0.158 -0.0688)
OKLCHoklch(43.72% 0.172 336.5)
XYZxyz(13.4919, 7.1084, 17.1811)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871974 #19872C
analogous
#631987 #871974 #87193D
triadic
#871974 #748719 #197487
tetradic
#871974 #876319 #19872C #193D87
square
#871974 #876319 #19872C #193D87
split-complementary
#871974 #3D8719 #198763
monochromatic
#20061B #530F48 #871974 #BB23A0 #DB3FC0

Accessibility & contrast

On white

8.67
#871974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#871974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871974
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871974#FFFFFF#000000##FFFFFF
##8719741.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4176
Deuteranopia (green-blind)
#445172
Tritanopia (blue-blind)
#8E2246
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871974;
/* rgb */ color: rgb(135, 25, 116);
/* oklch */ color: oklch(43.7% 0.172 336.5);
Tailwind
colors: {
  custom: {
    50: '#ae649c',
    500: '#871974',
    950: '#000000',
  },
}
SCSS
$custom: #871974;
$custom-light: #ae649c;
$custom-dark: #000000;
JSON
{
  "hex": "#871974",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 116
  },
  "hsl": {
    "h": 310.364,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43719,
    "c": 0.17237,
    "h": 336.5
  },
  "luminance": 0.07107
}

Semantic roles & 50–950 ramp

primary
#871974
secondary
#41BA56
accent
#EC5B3C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871974

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

Preview Lab → · Contrast checker → · Palette generator →

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