#872546#872546

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

Color values

HEX#872546
RGBrgb(135, 37, 70)
HSLhsl(340, 57%, 34%)
HSVhsv(340, 73%, 53%)
CMYKcmyk(0%, 72.6%, 48.1%, 47.1%)
CIE-LABlab(31.62, 43.89, 3.90)
CIE-LCHlch(31.62, 44.07, 5.08°)
OKLaboklab(42.8% 0.1342 0.0104)
OKLCHoklch(42.8% 0.135 4.4)
XYZxyz(11.7597, 6.9178, 6.5092)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872546 #258766
analogous
#872577 #872546 #873525
triadic
#872546 #468725 #254687
tetradic
#872546 #778725 #258766 #352587
square
#872546 #778725 #258766 #352587
split-complementary
#872546 #258735 #257787
monochromatic
#270B14 #57182D #872546 #B7325F #D1567F

Accessibility & contrast

On white

8.81
#872546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#872546 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872546
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872546#FFFFFF#000000##FFFFFF
##8725461.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3E47
Deuteranopia (green-blind)
#555144
Tritanopia (blue-blind)
#931533
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #872546;
/* rgb */ color: rgb(135, 37, 70);
/* oklch */ color: oklch(42.8% 0.135 4.4);
Tailwind
colors: {
  custom: {
    50: '#af6879',
    500: '#872546',
    950: '#000000',
  },
}
SCSS
$custom: #872546;
$custom-light: #af6879;
$custom-dark: #000000;
JSON
{
  "hex": "#872546",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 70
  },
  "hsl": {
    "h": 339.796,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42796,
    "c": 0.13457,
    "h": 4.4
  },
  "luminance": 0.06916
}

Semantic roles & 50–950 ramp

primary
#872546
secondary
#53B594
accent
#E0AD48
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #872546

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

Preview Lab → · Contrast checker → · Palette generator →

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