#8D1C78#8D1C78

#8D1C78 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.2% C 0.176 H 337.1°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#8D1C78
RGBrgb(141, 28, 120)
HSLhsl(311, 67%, 33%)
HSVhsv(311, 80%, 55%)
CMYKcmyk(0%, 80.1%, 14.9%, 44.7%)
CIE-LABlab(33.67, 54.84, -25.14)
CIE-LCHlch(33.67, 60.33, 335.37°)
OKLaboklab(45.16% 0.1618 -0.0685)
OKLCHoklch(45.16% 0.176 337.1)
XYZxyz(14.7902, 7.8507, 18.5021)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1C78 #1C8D31
analogous
#691C8D #8D1C78 #8D1C40
triadic
#8D1C78 #788D1C #1C788D
tetradic
#8D1C78 #8D691C #1C8D31 #1C408D
square
#8D1C78 #8D691C #1C8D31 #1C408D
split-complementary
#8D1C78 #408D1C #1C8D69
monochromatic
#270821 #5A124D #8D1C78 #C026A3 #DB49C0

Accessibility & contrast

On white

8.17
#8D1C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1C78
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1C78#FFFFFF#000000##FFFFFF
##8D1C781.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20447A
Deuteranopia (green-blind)
#485575
Tritanopia (blue-blind)
#952449
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1c78;
/* rgb */ color: rgb(141, 28, 120);
/* oklch */ color: oklch(45.2% 0.176 337.1);
Tailwind
colors: {
  custom: {
    50: '#b2669f',
    500: '#8d1c78',
    950: '#000000',
  },
}
SCSS
$custom: #8d1c78;
$custom-light: #b2669f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1c78",
  "rgb": {
    "r": 141,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 311.15,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45156,
    "c": 0.1757,
    "h": 337.1
  },
  "luminance": 0.07849
}

Semantic roles & 50–950 ramp

primary
#8D1C78
secondary
#48BD5E
accent
#EA5E3E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D1C78

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

Preview Lab → · Contrast checker → · Palette generator →

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