#872774#872774

#872774 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.9% C 0.157 H 336.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#872774
RGBrgb(135, 39, 116)
HSLhsl(312, 55%, 34%)
HSVhsv(312, 71%, 53%)
CMYKcmyk(0%, 71.1%, 14.1%, 47.1%)
CIE-LABlab(33.70, 49.02, -22.65)
CIE-LCHlch(33.70, 54.00, 335.20°)
OKLaboklab(44.91% 0.1441 -0.0616)
OKLCHoklch(44.91% 0.157 336.9)
XYZxyz(13.8698, 7.8641, 17.3071)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872774 #27873A
analogous
#6A2787 #872774 #872744
triadic
#872774 #748727 #277487
tetradic
#872774 #876A27 #27873A #274487
square
#872774 #876A27 #27873A #274487
split-complementary
#872774 #448727 #27876A
monochromatic
#280C22 #58194B #872774 #B6359D #CF59B8

Accessibility & contrast

On white

8.16
#872774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#872774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872774
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872774#FFFFFF#000000##FFFFFF
##8727741.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294676
Deuteranopia (green-blind)
#495572
Tritanopia (blue-blind)
#8E2C4A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #872774;
/* rgb */ color: rgb(135, 39, 116);
/* oklch */ color: oklch(44.9% 0.157 336.9);
Tailwind
colors: {
  custom: {
    50: '#ad6a9c',
    500: '#872774',
    950: '#000000',
  },
}
SCSS
$custom: #872774;
$custom-light: #ad6a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#872774",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 116
  },
  "hsl": {
    "h": 311.875,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44907,
    "c": 0.15668,
    "h": 336.9
  },
  "luminance": 0.07863
}

Semantic roles & 50–950 ramp

primary
#872774
secondary
#56B468
accent
#DF6749
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872774

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

Preview Lab → · Contrast checker → · Palette generator →

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