#872056#872056

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

Color values

HEX#872056
RGBrgb(135, 32, 86)
HSLhsl(329, 62%, 33%)
HSVhsv(329, 76%, 53%)
CMYKcmyk(0%, 76.3%, 36.3%, 47.1%)
CIE-LABlab(31.48, 47.49, -6.79)
CIE-LCHlch(31.48, 47.97, 351.86°)
OKLaboklab(42.87% 0.1456 -0.0174)
OKLCHoklch(42.87% 0.147 353.2)
XYZxyz(12.1886, 6.8573, 9.4840)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872056 #208751
analogous
#852087 #872056 #872022
triadic
#872056 #568720 #205687
tetradic
#872056 #878520 #208751 #202287
square
#872056 #878520 #208751 #202287
split-complementary
#872056 #228720 #208785
monochromatic
#240917 #561436 #872056 #B82C76 #D54D94

Accessibility & contrast

On white

8.86
#872056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872056
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872056#FFFFFF#000000##FFFFFF
##8720561.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333E57
Deuteranopia (green-blind)
#505154
Tritanopia (blue-blind)
#921638
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #872056;
/* rgb */ color: rgb(135, 32, 86);
/* oklch */ color: oklch(42.9% 0.147 353.2);
Tailwind
colors: {
  custom: {
    50: '#ae6685',
    500: '#872056',
    950: '#000000',
  },
}
SCSS
$custom: #872056;
$custom-light: #ae6685;
$custom-dark: #000000;
JSON
{
  "hex": "#872056",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 86
  },
  "hsl": {
    "h": 328.544,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42866,
    "c": 0.14663,
    "h": 353.2
  },
  "luminance": 0.06856
}

Semantic roles & 50–950 ramp

primary
#872056
secondary
#4BB87F
accent
#E59043
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #872056

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

Preview Lab → · Contrast checker → · Palette generator →

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