#872074#872074

#872074 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.3% C 0.165 H 336.6°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#872074
RGBrgb(135, 32, 116)
HSLhsl(311, 62%, 33%)
HSVhsv(311, 76%, 53%)
CMYKcmyk(0%, 76.3%, 14.1%, 47.1%)
CIE-LABlab(32.80, 51.56, -24.05)
CIE-LCHlch(32.80, 56.89, 334.99°)
OKLaboklab(44.26% 0.1516 -0.0655)
OKLCHoklch(44.26% 0.165 336.6)
XYZxyz(13.6608, 7.4461, 17.2374)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872074 #208733
analogous
#662087 #872074 #872040
triadic
#872074 #748720 #207487
tetradic
#872074 #876620 #208733 #204087
square
#872074 #876620 #208733 #204087
split-complementary
#872074 #408720 #208766
monochromatic
#24091F #561449 #872074 #B82C9F #D54DBC

Accessibility & contrast

On white

8.44
#872074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#872074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872074
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872074#FFFFFF#000000##FFFFFF
##8720741.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224376
Deuteranopia (green-blind)
#465372
Tritanopia (blue-blind)
#8E2748
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #872074;
/* rgb */ color: rgb(135, 32, 116);
/* oklch */ color: oklch(44.3% 0.165 336.6);
Tailwind
colors: {
  custom: {
    50: '#ad679c',
    500: '#872074',
    950: '#000000',
  },
}
SCSS
$custom: #872074;
$custom-light: #ad679c;
$custom-dark: #000000;
JSON
{
  "hex": "#872074",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 116
  },
  "hsl": {
    "h": 311.068,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44258,
    "c": 0.16518,
    "h": 336.6
  },
  "luminance": 0.07445
}

Semantic roles & 50–950 ramp

primary
#872074
secondary
#4BB85F
accent
#E56143
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872074

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

Preview Lab → · Contrast checker → · Palette generator →

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