#872057#872057

#872057 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.147 H 352.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#872057
RGBrgb(135, 32, 87)
HSLhsl(328, 62%, 33%)
HSVhsv(328, 76%, 53%)
CMYKcmyk(0%, 76.3%, 35.6%, 47.1%)
CIE-LABlab(31.52, 47.60, -7.39)
CIE-LCHlch(31.52, 48.17, 351.18°)
OKLaboklab(42.91% 0.1459 -0.019)
OKLCHoklch(42.91% 0.147 352.6)
XYZxyz(12.2292, 6.8735, 9.6977)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872057 #208750
analogous
#832087 #872057 #872023
triadic
#872057 #578720 #205787
tetradic
#872057 #878320 #208750 #202387
square
#872057 #878320 #208750 #202387
split-complementary
#872057 #238720 #208783
monochromatic
#240917 #561437 #872057 #B82C77 #D54D95

Accessibility & contrast

On white

8.84
#872057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#872057 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872057
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872057#FFFFFF#000000##FFFFFF
##8720571.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333E58
Deuteranopia (green-blind)
#505155
Tritanopia (blue-blind)
#921738
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #872057;
/* rgb */ color: rgb(135, 32, 87);
/* oklch */ color: oklch(42.9% 0.147 352.6);
Tailwind
colors: {
  custom: {
    50: '#ae6686',
    500: '#872057',
    950: '#000000',
  },
}
SCSS
$custom: #872057;
$custom-light: #ae6686;
$custom-dark: #000000;
JSON
{
  "hex": "#872057",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 87
  },
  "hsl": {
    "h": 327.961,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42906,
    "c": 0.14712,
    "h": 352.6
  },
  "luminance": 0.06872
}

Semantic roles & 50–950 ramp

primary
#872057
secondary
#4BB87E
accent
#E58E43
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #872057

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

Preview Lab → · Contrast checker → · Palette generator →

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