#8D2774#8D2774

#8D2774 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.161 H 339.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8D2774
RGBrgb(141, 39, 116)
HSLhsl(315, 57%, 35%)
HSVhsv(315, 72%, 55%)
CMYKcmyk(0%, 72.3%, 17.7%, 44.7%)
CIE-LABlab(34.75, 50.61, -20.93)
CIE-LCHlch(34.75, 54.76, 337.53°)
OKLaboklab(45.88% 0.1504 -0.0565)
OKLCHoklch(45.88% 0.161 339.4)
XYZxyz(14.8628, 8.3761, 17.3536)
Luminance0.0838 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2774 #278D40
analogous
#73278D #8D2774 #8D2741
triadic
#8D2774 #748D27 #27748D
tetradic
#8D2774 #8D7327 #278D40 #27418D
square
#8D2774 #8D7327 #278D40 #27418D
split-complementary
#8D2774 #418D27 #278D73
monochromatic
#2D0C25 #5D1A4D #8D2774 #BD349B #D25CB5

Accessibility & contrast

On white

7.85
#8D2774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8D2774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2774
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2774#FFFFFF#000000##FFFFFF
##8D27741.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4776
Deuteranopia (green-blind)
#4E5872
Tritanopia (blue-blind)
#952B4A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2774;
/* rgb */ color: rgb(141, 39, 116);
/* oklch */ color: oklch(45.9% 0.161 339.4);
Tailwind
colors: {
  custom: {
    50: '#b26b9c',
    500: '#8d2774',
    950: '#000000',
  },
}
SCSS
$custom: #8d2774;
$custom-light: #b26b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2774",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 116
  },
  "hsl": {
    "h": 314.706,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45875,
    "c": 0.16065,
    "h": 339.4
  },
  "luminance": 0.08375
}

Semantic roles & 50–950 ramp

primary
#8D2774
secondary
#59B770
accent
#E06D48
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2774

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

Preview Lab → · Contrast checker → · Palette generator →

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