#872460#872460

#872460 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.7% C 0.147 H 347.7°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#872460
RGBrgb(135, 36, 96)
HSLhsl(324, 58%, 34%)
HSVhsv(324, 73%, 53%)
CMYKcmyk(0%, 73.3%, 28.9%, 47.1%)
CIE-LABlab(32.39, 47.28, -11.91)
CIE-LCHlch(32.39, 48.76, 345.86°)
OKLaboklab(43.66% 0.1438 -0.0314)
OKLCHoklch(43.66% 0.147 347.7)
XYZxyz(12.7345, 7.2586, 11.7945)
Luminance0.0726 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872460 #24874B
analogous
#7C2487 #872460 #87242E
triadic
#872460 #608724 #246087
tetradic
#872460 #877C24 #24874B #242E87
square
#872460 #877C24 #24874B #242E87
split-complementary
#872460 #2E8724 #24877C
monochromatic
#260A1B #57173E #872460 #B73182 #D154A0

Accessibility & contrast

On white

8.57
#872460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#872460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872460
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872460#FFFFFF#000000##FFFFFF
##8724601.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324162
Deuteranopia (green-blind)
#4F525E
Tritanopia (blue-blind)
#91203E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #872460;
/* rgb */ color: rgb(135, 36, 96);
/* oklch */ color: oklch(43.7% 0.147 347.7);
Tailwind
colors: {
  custom: {
    50: '#ae688d',
    500: '#872460',
    950: '#000000',
  },
}
SCSS
$custom: #872460;
$custom-light: #ae688d;
$custom-dark: #000000;
JSON
{
  "hex": "#872460",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 96
  },
  "hsl": {
    "h": 323.636,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43659,
    "c": 0.14713,
    "h": 347.7
  },
  "luminance": 0.07257
}

Semantic roles & 50–950 ramp

primary
#872460
secondary
#51B579
accent
#E18447
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #872460

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

Preview Lab → · Contrast checker → · Palette generator →

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