#8D2B7B#8D2B7B

#8D2B7B is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.161 H 336.1°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#8D2B7B
RGBrgb(141, 43, 123)
HSLhsl(311, 53%, 36%)
HSVhsv(311, 70%, 55%)
CMYKcmyk(0%, 69.5%, 12.8%, 44.7%)
CIE-LABlab(35.64, 50.14, -23.94)
CIE-LCHlch(35.64, 55.56, 334.47°)
OKLaboklab(46.63% 0.1468 -0.0652)
OKLCHoklch(46.63% 0.161 336.1)
XYZxyz(15.4237, 8.8219, 19.6255)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2B7B #2B8D3D
analogous
#6E2B8D #8D2B7B #8D2B4A
triadic
#8D2B7B #7B8D2B #2B7B8D
tetradic
#8D2B7B #8D6E2B #2B8D3D #2B4A8D
square
#8D2B7B #8D6E2B #2B8D3D #2B4A8D
split-complementary
#8D2B7B #4A8D2B #2B8D6E
monochromatic
#2F0E29 #5E1D52 #8D2B7B #BC39A4 #CF63BC

Accessibility & contrast

On white

7.60
#8D2B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8D2B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2B7B
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2B7B#FFFFFF#000000##FFFFFF
##8D2B7B1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4A7D
Deuteranopia (green-blind)
#4D5979
Tritanopia (blue-blind)
#94314F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d2b7b;
/* rgb */ color: rgb(141, 43, 123);
/* oklch */ color: oklch(46.6% 0.161 336.1);
Tailwind
colors: {
  custom: {
    50: '#b16da1',
    500: '#8d2b7b',
    950: '#000000',
  },
}
SCSS
$custom: #8d2b7b;
$custom-light: #b16da1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2b7b",
  "rgb": {
    "r": 141,
    "g": 43,
    "b": 123
  },
  "hsl": {
    "h": 311.02,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46627,
    "c": 0.16057,
    "h": 336.1
  },
  "luminance": 0.08821
}

Semantic roles & 50–950 ramp

primary
#8D2B7B
secondary
#5EB66E
accent
#DD664B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8D2B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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