#8D1E79#8D1E79

#8D1E79 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.4% C 0.174 H 336.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#8D1E79
RGBrgb(141, 30, 121)
HSLhsl(311, 65%, 34%)
HSVhsv(311, 79%, 55%)
CMYKcmyk(0%, 78.7%, 14.2%, 44.7%)
CIE-LABlab(33.93, 54.40, -25.37)
CIE-LCHlch(33.93, 60.02, 335.00°)
OKLaboklab(45.36% 0.1601 -0.0691)
OKLCHoklch(45.36% 0.174 336.6)
XYZxyz(14.9002, 7.9731, 18.8397)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E79 #1E8D32
analogous
#691E8D #8D1E79 #8D1E41
triadic
#8D1E79 #798D1E #1E798D
tetradic
#8D1E79 #8D691E #1E8D32 #1E418D
square
#8D1E79 #8D691E #1E8D32 #1E418D
split-complementary
#8D1E79 #418D1E #1E8D69
monochromatic
#280922 #5B134E #8D1E79 #BF29A4 #D94CC0

Accessibility & contrast

On white

8.09
#8D1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8D1E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1E79
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1E79#FFFFFF#000000##FFFFFF
##8D1E791.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21457B
Deuteranopia (green-blind)
#485676
Tritanopia (blue-blind)
#95264A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1e79;
/* rgb */ color: rgb(141, 30, 121);
/* oklch */ color: oklch(45.4% 0.174 336.6);
Tailwind
colors: {
  custom: {
    50: '#b267a0',
    500: '#8d1e79',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e79;
$custom-light: #b267a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e79",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 310.811,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45357,
    "c": 0.17441,
    "h": 336.6
  },
  "luminance": 0.07972
}

Semantic roles & 50–950 ramp

primary
#8D1E79
secondary
#4BBC5F
accent
#E85E40
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D1E79

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

Preview Lab → · Contrast checker → · Palette generator →

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