#872671#872671

#872671 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.7% C 0.156 H 338.4°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#872671
RGBrgb(135, 38, 113)
HSLhsl(314, 56%, 34%)
HSVhsv(314, 72%, 53%)
CMYKcmyk(0%, 71.9%, 16.3%, 47.1%)
CIE-LABlab(33.42, 48.94, -21.20)
CIE-LCHlch(33.42, 53.33, 336.58°)
OKLaboklab(44.65% 0.1448 -0.0574)
OKLCHoklch(44.65% 0.156 338.4)
XYZxyz(13.6657, 7.7306, 16.3920)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872671 #26873C
analogous
#6D2687 #872671 #872641
triadic
#872671 #718726 #267187
tetradic
#872671 #876D26 #26873C #264187
square
#872671 #876D26 #26873C #264187
split-complementary
#872671 #418726 #26876D
monochromatic
#270B21 #571949 #872671 #B73399 #D058B5

Accessibility & contrast

On white

8.25
#872671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#872671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872671
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872671#FFFFFF#000000##FFFFFF
##8726711.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4573
Deuteranopia (green-blind)
#4A546F
Tritanopia (blue-blind)
#8F2A48
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #872671;
/* rgb */ color: rgb(135, 38, 113);
/* oklch */ color: oklch(44.7% 0.156 338.4);
Tailwind
colors: {
  custom: {
    50: '#ad699a',
    500: '#872671',
    950: '#000000',
  },
}
SCSS
$custom: #872671;
$custom-light: #ad699a;
$custom-dark: #000000;
JSON
{
  "hex": "#872671",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 113
  },
  "hsl": {
    "h": 313.608,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44654,
    "c": 0.15577,
    "h": 338.4
  },
  "luminance": 0.07729
}

Semantic roles & 50–950 ramp

primary
#872671
secondary
#54B56A
accent
#DF6B48
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872671

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

Preview Lab → · Contrast checker → · Palette generator →

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