#872475#872475

#872475 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.7% C 0.161 H 336.3°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#872475
RGBrgb(135, 36, 117)
HSLhsl(311, 58%, 34%)
HSVhsv(311, 73%, 53%)
CMYKcmyk(0%, 73.3%, 13.3%, 47.1%)
CIE-LABlab(33.35, 50.31, -23.83)
CIE-LCHlch(33.35, 55.67, 334.65°)
OKLaboklab(44.67% 0.1476 -0.0649)
OKLCHoklch(44.67% 0.161 336.3)
XYZxyz(13.8336, 7.6982, 17.5835)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872475 #248736
analogous
#672487 #872475 #872443
triadic
#872475 #758724 #247587
tetradic
#872475 #876724 #248736 #244387
square
#872475 #876724 #248736 #244387
split-complementary
#872475 #438724 #248767
monochromatic
#260A21 #57174B #872475 #B7319F #D154BB

Accessibility & contrast

On white

8.27
#872475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#872475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872475
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872475#FFFFFF#000000##FFFFFF
##8724751.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264577
Deuteranopia (green-blind)
#475473
Tritanopia (blue-blind)
#8E2B49
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #872475;
/* rgb */ color: rgb(135, 36, 117);
/* oklch */ color: oklch(44.7% 0.161 336.3);
Tailwind
colors: {
  custom: {
    50: '#ad699d',
    500: '#872475',
    950: '#000000',
  },
}
SCSS
$custom: #872475;
$custom-light: #ad699d;
$custom-dark: #000000;
JSON
{
  "hex": "#872475",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 117
  },
  "hsl": {
    "h": 310.909,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44668,
    "c": 0.16121,
    "h": 336.3
  },
  "luminance": 0.07697
}

Semantic roles & 50–950 ramp

primary
#872475
secondary
#51B564
accent
#E16347
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872475

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

Preview Lab → · Contrast checker → · Palette generator →

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