#872052#872052

#872052 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.145 H 355.7°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#872052
RGBrgb(135, 32, 82)
HSLhsl(331, 62%, 33%)
HSVhsv(331, 76%, 53%)
CMYKcmyk(0%, 76.3%, 39.3%, 47.1%)
CIE-LABlab(31.33, 47.03, -4.39)
CIE-LCHlch(31.33, 47.23, 354.66°)
OKLaboklab(42.71% 0.1444 -0.011)
OKLCHoklch(42.71% 0.145 355.7)
XYZxyz(12.0320, 6.7946, 8.6589)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872052 #208755
analogous
#872085 #872052 #872120
triadic
#872052 #528720 #205287
tetradic
#872052 #858720 #208755 #212087
square
#872052 #858720 #208755 #212087
split-complementary
#872052 #208721 #208587
monochromatic
#240916 #561434 #872052 #B82C70 #D54D8F

Accessibility & contrast

On white

8.90
#872052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872052
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872052#FFFFFF#000000##FFFFFF
##8720521.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343E53
Deuteranopia (green-blind)
#515150
Tritanopia (blue-blind)
#921436
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #872052;
/* rgb */ color: rgb(135, 32, 82);
/* oklch */ color: oklch(42.7% 0.145 355.7);
Tailwind
colors: {
  custom: {
    50: '#ae6682',
    500: '#872052',
    950: '#000000',
  },
}
SCSS
$custom: #872052;
$custom-light: #ae6682;
$custom-dark: #000000;
JSON
{
  "hex": "#872052",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 82
  },
  "hsl": {
    "h": 330.874,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42713,
    "c": 0.14479,
    "h": 355.7
  },
  "luminance": 0.06793
}

Semantic roles & 50–950 ramp

primary
#872052
secondary
#4BB883
accent
#E59643
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #872052

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

Preview Lab → · Contrast checker → · Palette generator →

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