#872374#872374

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

Color values

HEX#872374
RGBrgb(135, 35, 116)
HSLhsl(311, 59%, 33%)
HSVhsv(311, 74%, 53%)
CMYKcmyk(0%, 74.1%, 14.1%, 47.1%)
CIE-LABlab(33.17, 50.51, -23.48)
CIE-LCHlch(33.17, 55.70, 335.07°)
OKLaboklab(44.52% 0.1485 -0.0639)
OKLCHoklch(44.52% 0.162 336.7)
XYZxyz(13.7453, 7.6152, 17.2656)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872374 #238736
analogous
#682387 #872374 #872342
triadic
#872374 #748723 #237487
tetradic
#872374 #876823 #238736 #234287
square
#872374 #876823 #238736 #234287
split-complementary
#872374 #428723 #238768
monochromatic
#260A20 #56164A #872374 #B8309E #D252BA

Accessibility & contrast

On white

8.32
#872374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872374
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872374#FFFFFF#000000##FFFFFF
##8723741.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254476
Deuteranopia (green-blind)
#475372
Tritanopia (blue-blind)
#8E2949
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #872374;
/* rgb */ color: rgb(135, 35, 116);
/* oklch */ color: oklch(44.5% 0.162 336.7);
Tailwind
colors: {
  custom: {
    50: '#ad689c',
    500: '#872374',
    950: '#000000',
  },
}
SCSS
$custom: #872374;
$custom-light: #ad689c;
$custom-dark: #000000;
JSON
{
  "hex": "#872374",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 116
  },
  "hsl": {
    "h": 311.4,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44523,
    "c": 0.16169,
    "h": 336.7
  },
  "luminance": 0.07614
}

Semantic roles & 50–950 ramp

primary
#872374
secondary
#50B663
accent
#E26346
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872374

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

Preview Lab → · Contrast checker → · Palette generator →

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