#8D1B79#8D1B79

#8D1B79 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.1% C 0.177 H 336.6°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#8D1B79
RGBrgb(141, 27, 121)
HSLhsl(311, 68%, 33%)
HSVhsv(311, 81%, 55%)
CMYKcmyk(0%, 80.9%, 14.2%, 44.7%)
CIE-LABlab(33.62, 55.27, -25.84)
CIE-LCHlch(33.62, 61.01, 334.94°)
OKLaboklab(45.14% 0.1627 -0.0705)
OKLCHoklch(45.14% 0.177 336.6)
XYZxyz(14.8279, 7.8285, 18.8156)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1B79 #1B8D2F
analogous
#681B8D #8D1B79 #8D1B40
triadic
#8D1B79 #798D1B #1B798D
tetradic
#8D1B79 #8D681B #1B8D2F #1B408D
square
#8D1B79 #8D681B #1B8D2F #1B408D
split-complementary
#8D1B79 #408D1B #1B8D68
monochromatic
#260721 #5A114D #8D1B79 #C025A5 #DC47C2

Accessibility & contrast

On white

8.19
#8D1B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8D1B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1B79
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1B79#FFFFFF#000000##FFFFFF
##8D1B791.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E447B
Deuteranopia (green-blind)
#475576
Tritanopia (blue-blind)
#952449
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1b79;
/* rgb */ color: rgb(141, 27, 121);
/* oklch */ color: oklch(45.1% 0.177 336.6);
Tailwind
colors: {
  custom: {
    50: '#b266a0',
    500: '#8d1b79',
    950: '#000000',
  },
}
SCSS
$custom: #8d1b79;
$custom-light: #b266a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1b79",
  "rgb": {
    "r": 141,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 310.526,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45139,
    "c": 0.17734,
    "h": 336.6
  },
  "luminance": 0.07827
}

Semantic roles & 50–950 ramp

primary
#8D1B79
secondary
#46BD5B
accent
#EB5C3D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D1B79

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

Preview Lab → · Contrast checker → · Palette generator →

#8D1B79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva