#8D277A#8D277A

#8D277A is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.165 H 336.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8D277A
RGBrgb(141, 39, 122)
HSLhsl(311, 57%, 35%)
HSVhsv(311, 72%, 55%)
CMYKcmyk(0%, 72.3%, 13.5%, 44.7%)
CIE-LABlab(35.04, 51.52, -24.25)
CIE-LCHlch(35.04, 56.94, 334.80°)
OKLaboklab(46.18% 0.1512 -0.066)
OKLCHoklch(46.18% 0.165 336.4)
XYZxyz(15.2231, 8.5203, 19.2514)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D277A #278D3A
analogous
#6D278D #8D277A #8D2747
triadic
#8D277A #7A8D27 #277A8D
tetradic
#8D277A #8D6D27 #278D3A #27478D
square
#8D277A #8D6D27 #278D3A #27478D
split-complementary
#8D277A #478D27 #278D6D
monochromatic
#2D0C27 #5D1A51 #8D277A #BD34A3 #D25CBC

Accessibility & contrast

On white

7.77
#8D277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8D277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D277A
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D277A#FFFFFF#000000##FFFFFF
##8D277A1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29497C
Deuteranopia (green-blind)
#4B5878
Tritanopia (blue-blind)
#942D4D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d277a;
/* rgb */ color: rgb(141, 39, 122);
/* oklch */ color: oklch(46.2% 0.165 336.4);
Tailwind
colors: {
  custom: {
    50: '#b26ba0',
    500: '#8d277a',
    950: '#000000',
  },
}
SCSS
$custom: #8d277a;
$custom-light: #b26ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d277a",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 311.176,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46179,
    "c": 0.16497,
    "h": 336.4
  },
  "luminance": 0.08519
}

Semantic roles & 50–950 ramp

primary
#8D277A
secondary
#59B76A
accent
#E06448
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8D277A

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

Preview Lab → · Contrast checker → · Palette generator →

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