#8D277B#8D277B

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

Color values

HEX#8D277B
RGBrgb(141, 39, 123)
HSLhsl(311, 57%, 35%)
HSVhsv(311, 72%, 55%)
CMYKcmyk(0%, 72.3%, 12.8%, 44.7%)
CIE-LABlab(35.09, 51.67, -24.79)
CIE-LCHlch(35.09, 57.31, 334.37°)
OKLaboklab(46.23% 0.1513 -0.0676)
OKLCHoklch(46.23% 0.166 335.9)
XYZxyz(15.2854, 8.5452, 19.5794)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D277B #278D39
analogous
#6C278D #8D277B #8D2748
triadic
#8D277B #7B8D27 #277B8D
tetradic
#8D277B #8D6C27 #278D39 #27488D
square
#8D277B #8D6C27 #278D39 #27488D
split-complementary
#8D277B #488D27 #278D6C
monochromatic
#2D0C27 #5D1A51 #8D277B #BD34A5 #D25CBD

Accessibility & contrast

On white

7.75
#8D277B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D277B
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D277B#FFFFFF#000000##FFFFFF
##8D277B1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28497D
Deuteranopia (green-blind)
#4B5879
Tritanopia (blue-blind)
#942E4E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d277b;
/* rgb */ color: rgb(141, 39, 123);
/* oklch */ color: oklch(46.2% 0.166 335.9);
Tailwind
colors: {
  custom: {
    50: '#b26ba1',
    500: '#8d277b',
    950: '#000000',
  },
}
SCSS
$custom: #8d277b;
$custom-light: #b26ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d277b",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 310.588,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46231,
    "c": 0.16571,
    "h": 335.9
  },
  "luminance": 0.08544
}

Semantic roles & 50–950 ramp

primary
#8D277B
secondary
#59B769
accent
#E06348
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8D277B

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

Preview Lab → · Contrast checker → · Palette generator →

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