#872870#872870

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

Color values

HEX#872870
RGBrgb(135, 40, 112)
HSLhsl(315, 54%, 34%)
HSVhsv(315, 70%, 53%)
CMYKcmyk(0%, 70.4%, 17%, 47.1%)
CIE-LABlab(33.65, 48.01, -20.20)
CIE-LCHlch(33.65, 52.09, 337.18°)
OKLaboklab(44.81% 0.1423 -0.0546)
OKLCHoklch(44.81% 0.152 339)
XYZxyz(13.6754, 7.8396, 16.1191)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872870 #28873F
analogous
#6F2887 #872870 #872841
triadic
#872870 #708728 #287087
tetradic
#872870 #876F28 #28873F #284187
square
#872870 #876F28 #28873F #284187
split-complementary
#872870 #418728 #28876F
monochromatic
#290C22 #581A49 #872870 #B63697 #CE5BB2

Accessibility & contrast

On white

8.18
#872870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#872870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872870
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872870#FFFFFF#000000##FFFFFF
##8728701.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4672
Deuteranopia (green-blind)
#4B556E
Tritanopia (blue-blind)
#8F2C48
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #872870;
/* rgb */ color: rgb(135, 40, 112);
/* oklch */ color: oklch(44.8% 0.152 339.0);
Tailwind
colors: {
  custom: {
    50: '#ad6a99',
    500: '#872870',
    950: '#000000',
  },
}
SCSS
$custom: #872870;
$custom-light: #ad6a99;
$custom-dark: #000000;
JSON
{
  "hex": "#872870",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 112
  },
  "hsl": {
    "h": 314.526,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44807,
    "c": 0.15242,
    "h": 339
  },
  "luminance": 0.07838
}

Semantic roles & 50–950 ramp

primary
#872870
secondary
#57B46E
accent
#DE6E4A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872870

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

Preview Lab → · Contrast checker → · Palette generator →

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