#872474#872474

#872474 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.6% C 0.160 H 336.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#872474
RGBrgb(135, 36, 116)
HSLhsl(312, 58%, 34%)
HSVhsv(312, 73%, 53%)
CMYKcmyk(0%, 73.3%, 14.1%, 47.1%)
CIE-LABlab(33.30, 50.15, -23.28)
CIE-LCHlch(33.30, 55.29, 335.10°)
OKLaboklab(44.62% 0.1475 -0.0633)
OKLCHoklch(44.62% 0.16 336.8)
XYZxyz(13.7752, 7.6748, 17.2755)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872474 #248737
analogous
#682487 #872474 #872442
triadic
#872474 #748724 #247487
tetradic
#872474 #876824 #248737 #244287
square
#872474 #876824 #248737 #244287
split-complementary
#872474 #428724 #248768
monochromatic
#260A21 #57174A #872474 #B7319E #D154B9

Accessibility & contrast

On white

8.28
#872474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#872474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872474
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872474#FFFFFF#000000##FFFFFF
##8724741.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264576
Deuteranopia (green-blind)
#485472
Tritanopia (blue-blind)
#8E2A49
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #872474;
/* rgb */ color: rgb(135, 36, 116);
/* oklch */ color: oklch(44.6% 0.160 336.8);
Tailwind
colors: {
  custom: {
    50: '#ad699c',
    500: '#872474',
    950: '#000000',
  },
}
SCSS
$custom: #872474;
$custom-light: #ad699c;
$custom-dark: #000000;
JSON
{
  "hex": "#872474",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 116
  },
  "hsl": {
    "h": 311.515,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44616,
    "c": 0.16047,
    "h": 336.8
  },
  "luminance": 0.07674
}

Semantic roles & 50–950 ramp

primary
#872474
secondary
#51B565
accent
#E16447
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872474

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

Preview Lab → · Contrast checker → · Palette generator →

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