#871674#871674

#871674 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.5% C 0.175 H 336.4°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#871674
RGBrgb(135, 22, 116)
HSLhsl(310, 72%, 31%)
HSVhsv(310, 84%, 53%)
CMYKcmyk(0%, 83.7%, 14.1%, 47.1%)
CIE-LABlab(31.78, 54.50, -25.66)
CIE-LCHlch(31.78, 60.23, 334.79°)
OKLaboklab(43.52% 0.1604 -0.07)
OKLCHoklch(43.52% 0.175 336.4)
XYZxyz(13.4312, 6.9870, 17.1609)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871674 #168729
analogous
#611687 #871674 #87163C
triadic
#871674 #748716 #167487
tetradic
#871674 #876116 #168729 #163C87
square
#871674 #876116 #168729 #163C87
split-complementary
#871674 #3C8716 #168761
monochromatic
#1E051A #520D47 #871674 #BC1FA1 #DF39C3

Accessibility & contrast

On white

8.76
#871674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#871674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871674
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871674#FFFFFF#000000##FFFFFF
##8716741.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194076
Deuteranopia (green-blind)
#435171
Tritanopia (blue-blind)
#8E2045
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871674;
/* rgb */ color: rgb(135, 22, 116);
/* oklch */ color: oklch(43.5% 0.175 336.4);
Tailwind
colors: {
  custom: {
    50: '#ae639c',
    500: '#871674',
    950: '#000000',
  },
}
SCSS
$custom: #871674;
$custom-light: #ae639c;
$custom-dark: #000000;
JSON
{
  "hex": "#871674",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 310.088,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43522,
    "c": 0.17504,
    "h": 336.4
  },
  "luminance": 0.06986
}

Semantic roles & 50–950 ramp

primary
#871674
secondary
#3EBB53
accent
#EF5839
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871674

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

Preview Lab → · Contrast checker → · Palette generator →

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