#8D277C#8D277C

#8D277C is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.166 H 335.5°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8D277C
RGBrgb(141, 39, 124)
HSLhsl(310, 57%, 35%)
HSVhsv(310, 72%, 55%)
CMYKcmyk(0%, 72.3%, 12.1%, 44.7%)
CIE-LABlab(35.14, 51.83, -25.34)
CIE-LCHlch(35.14, 57.69, 333.94°)
OKLaboklab(46.28% 0.1514 -0.0691)
OKLCHoklch(46.28% 0.166 335.5)
XYZxyz(15.3483, 8.5703, 19.9108)
Luminance0.0857 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D277C #278D38
analogous
#6B278D #8D277C #8D2749
triadic
#8D277C #7C8D27 #277C8D
tetradic
#8D277C #8D6B27 #278D38 #27498D
square
#8D277C #8D6B27 #278D38 #27498D
split-complementary
#8D277C #498D27 #278D6B
monochromatic
#2D0C28 #5D1A52 #8D277C #BD34A6 #D25CBE

Accessibility & contrast

On white

7.74
#8D277C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8D277C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D277C
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D277C#FFFFFF#000000##FFFFFF
##8D277C1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27497E
Deuteranopia (green-blind)
#4A587A
Tritanopia (blue-blind)
#942E4E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d277c;
/* rgb */ color: rgb(141, 39, 124);
/* oklch */ color: oklch(46.3% 0.166 335.5);
Tailwind
colors: {
  custom: {
    50: '#b26ba2',
    500: '#8d277c',
    950: '#000000',
  },
}
SCSS
$custom: #8d277c;
$custom-light: #b26ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d277c",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 310,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46284,
    "c": 0.16645,
    "h": 335.5
  },
  "luminance": 0.08569
}

Semantic roles & 50–950 ramp

primary
#8D277C
secondary
#59B768
accent
#E06148
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D277C

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

Preview Lab → · Contrast checker → · Palette generator →

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