#872070#872070

#872070 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.0% C 0.162 H 338.6°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#872070
RGBrgb(135, 32, 112)
HSLhsl(313, 62%, 33%)
HSVhsv(313, 76%, 53%)
CMYKcmyk(0%, 76.3%, 17%, 47.1%)
CIE-LABlab(32.60, 50.95, -21.83)
CIE-LCHlch(32.60, 55.43, 336.81°)
OKLaboklab(44.05% 0.1512 -0.0592)
OKLCHoklch(44.05% 0.162 338.6)
XYZxyz(13.4331, 7.3551, 16.0383)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872070 #208737
analogous
#6A2087 #872070 #87203C
triadic
#872070 #708720 #207087
tetradic
#872070 #876A20 #208737 #203C87
square
#872070 #876A20 #208737 #203C87
split-complementary
#872070 #3C8720 #20876A
monochromatic
#24091E #561447 #872070 #B82C99 #D54DB6

Accessibility & contrast

On white

8.50
#872070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#872070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872070
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872070#FFFFFF#000000##FFFFFF
##8720701.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254272
Deuteranopia (green-blind)
#48526E
Tritanopia (blue-blind)
#8F2545
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #872070;
/* rgb */ color: rgb(135, 32, 112);
/* oklch */ color: oklch(44.0% 0.162 338.6);
Tailwind
colors: {
  custom: {
    50: '#ad6799',
    500: '#872070',
    950: '#000000',
  },
}
SCSS
$custom: #872070;
$custom-light: #ad6799;
$custom-dark: #000000;
JSON
{
  "hex": "#872070",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 112
  },
  "hsl": {
    "h": 313.398,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44049,
    "c": 0.16233,
    "h": 338.6
  },
  "luminance": 0.07354
}

Semantic roles & 50–950 ramp

primary
#872070
secondary
#4BB863
accent
#E56743
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872070

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

Preview Lab → · Contrast checker → · Palette generator →

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