#8D1A78#8D1A78

#8D1A78 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.0% C 0.178 H 337.0°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#8D1A78
RGBrgb(141, 26, 120)
HSLhsl(311, 69%, 33%)
HSVhsv(311, 82%, 55%)
CMYKcmyk(0%, 81.6%, 14.9%, 44.7%)
CIE-LABlab(33.48, 55.40, -25.44)
CIE-LCHlch(33.48, 60.96, 335.33°)
OKLaboklab(45.02% 0.1635 -0.0693)
OKLCHoklch(45.02% 0.178 337)
XYZxyz(14.7444, 7.7590, 18.4868)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1A78 #1A8D2F
analogous
#691A8D #8D1A78 #8D1A3E
triadic
#8D1A78 #788D1A #1A788D
tetradic
#8D1A78 #8D691A #1A8D2F #1A3E8D
square
#8D1A78 #8D691A #1A8D2F #1A3E8D
split-complementary
#8D1A78 #3E8D1A #1A8D69
monochromatic
#260720 #59104C #8D1A78 #C124A4 #DD45C1

Accessibility & contrast

On white

8.23
#8D1A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8D1A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1A78
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1A78#FFFFFF#000000##FFFFFF
##8D1A781.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E447A
Deuteranopia (green-blind)
#485575
Tritanopia (blue-blind)
#952348
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1a78;
/* rgb */ color: rgb(141, 26, 120);
/* oklch */ color: oklch(45.0% 0.178 337.0);
Tailwind
colors: {
  custom: {
    50: '#b2669f',
    500: '#8d1a78',
    950: '#000000',
  },
}
SCSS
$custom: #8d1a78;
$custom-light: #b2669f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1a78",
  "rgb": {
    "r": 141,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 310.957,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45016,
    "c": 0.17757,
    "h": 337
  },
  "luminance": 0.07758
}

Semantic roles & 50–950 ramp

primary
#8D1A78
secondary
#45BE5B
accent
#EC5C3C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D1A78

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

Preview Lab → · Contrast checker → · Palette generator →

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