#872673#872673

#872673 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.157 H 337.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#872673
RGBrgb(135, 38, 115)
HSLhsl(312, 56%, 34%)
HSVhsv(312, 72%, 53%)
CMYKcmyk(0%, 71.9%, 14.8%, 47.1%)
CIE-LABlab(33.51, 49.25, -22.31)
CIE-LCHlch(33.51, 54.07, 335.63°)
OKLaboklab(44.76% 0.1451 -0.0606)
OKLCHoklch(44.76% 0.157 337.3)
XYZxyz(13.7795, 7.7762, 16.9916)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872673 #26873A
analogous
#6B2687 #872673 #872643
triadic
#872673 #738726 #267387
tetradic
#872673 #876B26 #26873A #264387
square
#872673 #876B26 #26873A #264387
split-complementary
#872673 #438726 #26876B
monochromatic
#270B22 #57194A #872673 #B7339C #D058B7

Accessibility & contrast

On white

8.22
#872673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872673
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872673#FFFFFF#000000##FFFFFF
##8726731.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294575
Deuteranopia (green-blind)
#495471
Tritanopia (blue-blind)
#8E2B49
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #872673;
/* rgb */ color: rgb(135, 38, 115);
/* oklch */ color: oklch(44.8% 0.157 337.3);
Tailwind
colors: {
  custom: {
    50: '#ad699b',
    500: '#872673',
    950: '#000000',
  },
}
SCSS
$custom: #872673;
$custom-light: #ad699b;
$custom-dark: #000000;
JSON
{
  "hex": "#872673",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 115
  },
  "hsl": {
    "h": 312.371,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44756,
    "c": 0.15723,
    "h": 337.3
  },
  "luminance": 0.07775
}

Semantic roles & 50–950 ramp

primary
#872673
secondary
#54B568
accent
#DF6848
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872673

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

Preview Lab → · Contrast checker → · Palette generator →

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