#872471#872471

#872471 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.5% C 0.158 H 338.3°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#872471
RGBrgb(135, 36, 113)
HSLhsl(313, 58%, 34%)
HSVhsv(313, 73%, 53%)
CMYKcmyk(0%, 73.3%, 16.3%, 47.1%)
CIE-LABlab(33.15, 49.69, -21.61)
CIE-LCHlch(33.15, 54.19, 336.50°)
OKLaboklab(44.46% 0.1471 -0.0586)
OKLCHoklch(44.46% 0.158 338.3)
XYZxyz(13.6035, 7.6062, 16.3713)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872471 #24873A
analogous
#6B2487 #872471 #87243F
triadic
#872471 #718724 #247187
tetradic
#872471 #876B24 #24873A #243F87
square
#872471 #876B24 #24873A #243F87
split-complementary
#872471 #3F8724 #24876B
monochromatic
#260A20 #571749 #872471 #B73199 #D154B6

Accessibility & contrast

On white

8.33
#872471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#872471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872471
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872471#FFFFFF#000000##FFFFFF
##8724711.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284473
Deuteranopia (green-blind)
#49536F
Tritanopia (blue-blind)
#8F2947
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #872471;
/* rgb */ color: rgb(135, 36, 113);
/* oklch */ color: oklch(44.5% 0.158 338.3);
Tailwind
colors: {
  custom: {
    50: '#ad689a',
    500: '#872471',
    950: '#000000',
  },
}
SCSS
$custom: #872471;
$custom-light: #ad689a;
$custom-dark: #000000;
JSON
{
  "hex": "#872471",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 113
  },
  "hsl": {
    "h": 313.333,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44461,
    "c": 0.15829,
    "h": 338.3
  },
  "luminance": 0.07605
}

Semantic roles & 50–950 ramp

primary
#872471
secondary
#51B568
accent
#E16947
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872471

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

Preview Lab → · Contrast checker → · Palette generator →

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