#872548#872548

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

Color values

HEX#872548
RGBrgb(135, 37, 72)
HSLhsl(339, 57%, 34%)
HSVhsv(339, 73%, 53%)
CMYKcmyk(0%, 72.6%, 46.7%, 47.1%)
CIE-LABlab(31.68, 44.09, 2.67)
CIE-LCHlch(31.68, 44.17, 3.47°)
OKLaboklab(42.86% 0.1349 0.0074)
OKLCHoklch(42.86% 0.135 3.1)
XYZxyz(11.8239, 6.9434, 6.8472)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872548 #258764
analogous
#872579 #872548 #873325
triadic
#872548 #488725 #254887
tetradic
#872548 #798725 #258764 #332587
square
#872548 #798725 #258764 #332587
split-complementary
#872548 #258733 #257987
monochromatic
#270B15 #57182E #872548 #B73262 #D15682

Accessibility & contrast

On white

8.79
#872548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#872548 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872548
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872548#FFFFFF#000000##FFFFFF
##8725481.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3E49
Deuteranopia (green-blind)
#555246
Tritanopia (blue-blind)
#931633
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #872548;
/* rgb */ color: rgb(135, 37, 72);
/* oklch */ color: oklch(42.9% 0.135 3.1);
Tailwind
colors: {
  custom: {
    50: '#af687a',
    500: '#872548',
    950: '#000000',
  },
}
SCSS
$custom: #872548;
$custom-light: #af687a;
$custom-dark: #000000;
JSON
{
  "hex": "#872548",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 72
  },
  "hsl": {
    "h": 338.571,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42858,
    "c": 0.13512,
    "h": 3.1
  },
  "luminance": 0.06942
}

Semantic roles & 50–950 ramp

primary
#872548
secondary
#53B592
accent
#E0AA48
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #872548

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

Preview Lab → · Contrast checker → · Palette generator →

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