#872054#872054

#872054 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.146 H 354.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#872054
RGBrgb(135, 32, 84)
HSLhsl(330, 62%, 33%)
HSVhsv(330, 76%, 53%)
CMYKcmyk(0%, 76.3%, 37.8%, 47.1%)
CIE-LABlab(31.41, 47.25, -5.60)
CIE-LCHlch(31.41, 47.58, 353.24°)
OKLaboklab(42.79% 0.145 -0.0142)
OKLCHoklch(42.79% 0.146 354.4)
XYZxyz(12.1092, 6.8255, 9.0656)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872054 #208753
analogous
#872087 #872054 #872020
triadic
#872054 #548720 #205487
tetradic
#872054 #878720 #208753 #202087
square
#872054 #878720 #208753 #202087
split-complementary
#872054 #208720 #208787
monochromatic
#240916 #561435 #872054 #B82C73 #D54D91

Accessibility & contrast

On white

8.88
#872054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#872054 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872054
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872054#FFFFFF#000000##FFFFFF
##8720541.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343E55
Deuteranopia (green-blind)
#505152
Tritanopia (blue-blind)
#921537
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #872054;
/* rgb */ color: rgb(135, 32, 84);
/* oklch */ color: oklch(42.8% 0.146 354.4);
Tailwind
colors: {
  custom: {
    50: '#ae6684',
    500: '#872054',
    950: '#000000',
  },
}
SCSS
$custom: #872054;
$custom-light: #ae6684;
$custom-dark: #000000;
JSON
{
  "hex": "#872054",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 84
  },
  "hsl": {
    "h": 329.709,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42788,
    "c": 0.14568,
    "h": 354.4
  },
  "luminance": 0.06824
}

Semantic roles & 50–950 ramp

primary
#872054
secondary
#4BB881
accent
#E59343
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060A
muted
#807A7C

Preview Lab

Preview with #872054

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

Preview Lab → · Contrast checker → · Palette generator →

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