#8D2E7D#8D2E7D

#8D2E7D is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.0% C 0.158 H 335.2°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8D2E7D
RGBrgb(141, 46, 125)
HSLhsl(310, 51%, 37%)
HSVhsv(310, 67%, 55%)
CMYKcmyk(0%, 67.4%, 11.3%, 44.7%)
CIE-LABlab(36.17, 49.24, -24.36)
CIE-LCHlch(36.17, 54.93, 333.68°)
OKLaboklab(47.05% 0.1434 -0.0664)
OKLCHoklch(47.05% 0.158 335.2)
XYZxyz(15.6633, 9.0987, 20.3293)
Luminance0.0910 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E7D #2E8D3E
analogous
#6E2E8D #8D2E7D #8D2E4E
triadic
#8D2E7D #7D8D2E #2E7D8D
tetradic
#8D2E7D #8D6E2E #2E8D3E #2E4E8D
square
#8D2E7D #8D6E2E #2E8D3E #2E4E8D
split-complementary
#8D2E7D #4E8D2E #2E8D6E
monochromatic
#31102B #5F1F54 #8D2E7D #BB3DA6 #CE68BC

Accessibility & contrast

On white

7.45
#8D2E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8D2E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2E7D
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E7D#FFFFFF#000000##FFFFFF
##8D2E7D1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C7F
Deuteranopia (green-blind)
#4D5A7B
Tritanopia (blue-blind)
#943451
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2e7d;
/* rgb */ color: rgb(141, 46, 125);
/* oklch */ color: oklch(47.0% 0.158 335.2);
Tailwind
colors: {
  custom: {
    50: '#b16ea3',
    500: '#8d2e7d',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e7d;
$custom-light: #b16ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e7d",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 310.105,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47047,
    "c": 0.15803,
    "h": 335.2
  },
  "luminance": 0.09097
}

Semantic roles & 50–950 ramp

primary
#8D2E7D
secondary
#62B570
accent
#DA654E
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D2E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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