#8D1D78#8D1D78

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

Color values

HEX#8D1D78
RGBrgb(141, 29, 120)
HSLhsl(311, 66%, 33%)
HSVhsv(311, 79%, 55%)
CMYKcmyk(0%, 79.4%, 14.9%, 44.7%)
CIE-LABlab(33.77, 54.55, -24.98)
CIE-LCHlch(33.77, 60.00, 335.40°)
OKLaboklab(45.23% 0.1609 -0.068)
OKLCHoklch(45.23% 0.175 337.1)
XYZxyz(14.8143, 7.8989, 18.5101)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1D78 #1D8D32
analogous
#6A1D8D #8D1D78 #8D1D40
triadic
#8D1D78 #788D1D #1D788D
tetradic
#8D1D78 #8D6A1D #1D8D32 #1D408D
square
#8D1D78 #8D6A1D #1D8D32 #1D408D
split-complementary
#8D1D78 #408D1D #1D8D6A
monochromatic
#270822 #5A134D #8D1D78 #C027A3 #DA4BBF

Accessibility & contrast

On white

8.14
#8D1D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8D1D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1D78
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1D78#FFFFFF#000000##FFFFFF
##8D1D781.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d1d78;
/* rgb */ color: rgb(141, 29, 120);
/* oklch */ color: oklch(45.2% 0.175 337.1);
Tailwind
colors: {
  custom: {
    50: '#b2679f',
    500: '#8d1d78',
    950: '#000000',
  },
}
SCSS
$custom: #8d1d78;
$custom-light: #b2679f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1d78",
  "rgb": {
    "r": 141,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 311.25,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45229,
    "c": 0.17472,
    "h": 337.1
  },
  "luminance": 0.07898
}

Semantic roles & 50–950 ramp

primary
#8D1D78
secondary
#4ABC5F
accent
#E95F3F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D1D78

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

Preview Lab → · Contrast checker → · Palette generator →

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