#872073#872073

#872073 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.2% C 0.164 H 337.1°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#872073
RGBrgb(135, 32, 115)
HSLhsl(312, 62%, 33%)
HSVhsv(312, 76%, 53%)
CMYKcmyk(0%, 76.3%, 14.8%, 47.1%)
CIE-LABlab(32.75, 51.40, -23.50)
CIE-LCHlch(32.75, 56.52, 335.43°)
OKLaboklab(44.21% 0.1515 -0.0639)
OKLCHoklch(44.21% 0.164 337.1)
XYZxyz(13.6030, 7.4230, 16.9327)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872073 #208734
analogous
#672087 #872073 #872040
triadic
#872073 #738720 #207387
tetradic
#872073 #876720 #208734 #204087
square
#872073 #876720 #208734 #204087
split-complementary
#872073 #408720 #208767
monochromatic
#24091F #561449 #872073 #B82C9D #D54DBA

Accessibility & contrast

On white

8.45
#872073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#872073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872073
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872073#FFFFFF#000000##FFFFFF
##8720731.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234375
Deuteranopia (green-blind)
#475371
Tritanopia (blue-blind)
#8E2647
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #872073;
/* rgb */ color: rgb(135, 32, 115);
/* oklch */ color: oklch(44.2% 0.164 337.1);
Tailwind
colors: {
  custom: {
    50: '#ad679b',
    500: '#872073',
    950: '#000000',
  },
}
SCSS
$custom: #872073;
$custom-light: #ad679b;
$custom-dark: #000000;
JSON
{
  "hex": "#872073",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 115
  },
  "hsl": {
    "h": 311.65,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44205,
    "c": 0.16446,
    "h": 337.1
  },
  "luminance": 0.07422
}

Semantic roles & 50–950 ramp

primary
#872073
secondary
#4BB860
accent
#E56243
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872073

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

Preview Lab → · Contrast checker → · Palette generator →

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