#8D2778#8D2778

#8D2778 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.164 H 337.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8D2778
RGBrgb(141, 39, 120)
HSLhsl(312, 57%, 35%)
HSVhsv(312, 72%, 55%)
CMYKcmyk(0%, 72.3%, 14.9%, 44.7%)
CIE-LABlab(34.95, 51.21, -23.15)
CIE-LCHlch(34.95, 56.20, 335.68°)
OKLaboklab(46.08% 0.1509 -0.0628)
OKLCHoklch(46.08% 0.164 337.4)
XYZxyz(15.1005, 8.4712, 18.6055)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2778 #278D3C
analogous
#6F278D #8D2778 #8D2745
triadic
#8D2778 #788D27 #27788D
tetradic
#8D2778 #8D6F27 #278D3C #27458D
square
#8D2778 #8D6F27 #278D3C #27458D
split-complementary
#8D2778 #458D27 #278D6F
monochromatic
#2D0C26 #5D1A4F #8D2778 #BD34A1 #D25CBA

Accessibility & contrast

On white

7.80
#8D2778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8D2778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2778
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2778#FFFFFF#000000##FFFFFF
##8D27781.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A487A
Deuteranopia (green-blind)
#4C5876
Tritanopia (blue-blind)
#952D4C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2778;
/* rgb */ color: rgb(141, 39, 120);
/* oklch */ color: oklch(46.1% 0.164 337.4);
Tailwind
colors: {
  custom: {
    50: '#b26b9f',
    500: '#8d2778',
    950: '#000000',
  },
}
SCSS
$custom: #8d2778;
$custom-light: #b26b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2778",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 120
  },
  "hsl": {
    "h": 312.353,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46076,
    "c": 0.1635,
    "h": 337.4
  },
  "luminance": 0.0847
}

Semantic roles & 50–950 ramp

primary
#8D2778
secondary
#59B76C
accent
#E06748
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2778

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

Preview Lab → · Contrast checker → · Palette generator →

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