#8D2E7B#8D2E7B

#8D2E7B is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.156 H 336.2°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#8D2E7B
RGBrgb(141, 46, 123)
HSLhsl(311, 51%, 37%)
HSVhsv(311, 67%, 55%)
CMYKcmyk(0%, 67.4%, 12.8%, 44.7%)
CIE-LABlab(36.08, 48.92, -23.26)
CIE-LCHlch(36.08, 54.17, 334.57°)
OKLaboklab(46.95% 0.1431 -0.0632)
OKLCHoklch(46.95% 0.156 336.2)
XYZxyz(15.5369, 9.0481, 19.6632)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E7B #2E8D40
analogous
#702E8D #8D2E7B #8D2E4C
triadic
#8D2E7B #7B8D2E #2E7B8D
tetradic
#8D2E7B #8D702E #2E8D40 #2E4C8D
square
#8D2E7B #8D702E #2E8D40 #2E4C8D
split-complementary
#8D2E7B #4C8D2E #2E8D70
monochromatic
#31102A #5F1F53 #8D2E7B #BB3DA3 #CE68BA

Accessibility & contrast

On white

7.47
#8D2E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8D2E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2E7B
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E7B#FFFFFF#000000##FFFFFF
##8D2E7B1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7D
Deuteranopia (green-blind)
#4E5A79
Tritanopia (blue-blind)
#943450
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2e7b;
/* rgb */ color: rgb(141, 46, 123);
/* oklch */ color: oklch(46.9% 0.156 336.2);
Tailwind
colors: {
  custom: {
    50: '#b16ea1',
    500: '#8d2e7b',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e7b;
$custom-light: #b16ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e7b",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 311.368,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46945,
    "c": 0.15649,
    "h": 336.2
  },
  "luminance": 0.09047
}

Semantic roles & 50–950 ramp

primary
#8D2E7B
secondary
#62B572
accent
#DA684E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080F
muted
#807B7E

Preview Lab

Preview with #8D2E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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