#8D2F7D#8D2F7D

#8D2F7D is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.2% C 0.157 H 335.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8D2F7D
RGBrgb(141, 47, 125)
HSLhsl(310, 50%, 37%)
HSVhsv(310, 67%, 55%)
CMYKcmyk(0%, 66.7%, 11.3%, 44.7%)
CIE-LABlab(36.32, 48.82, -24.12)
CIE-LCHlch(36.32, 54.46, 333.71°)
OKLaboklab(47.16% 0.1422 -0.0657)
OKLCHoklch(47.16% 0.157 335.2)
XYZxyz(15.7028, 9.1777, 20.3425)
Luminance0.0918 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F7D #2F8D3F
analogous
#6E2F8D #8D2F7D #8D2F4E
triadic
#8D2F7D #7D8D2F #2F7D8D
tetradic
#8D2F7D #8D6E2F #2F8D3F #2F4E8D
square
#8D2F7D #8D6E2F #2F8D3F #2F4E8D
split-complementary
#8D2F7D #4E8D2F #2F8D6E
monochromatic
#31102C #5F2054 #8D2F7D #BB3EA6 #CD69BC

Accessibility & contrast

On white

7.41
#8D2F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8D2F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2F7D
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F7D#FFFFFF#000000##FFFFFF
##8D2F7D1.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7F
Deuteranopia (green-blind)
#4E5B7B
Tritanopia (blue-blind)
#943551
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2f7d;
/* rgb */ color: rgb(141, 47, 125);
/* oklch */ color: oklch(47.2% 0.157 335.2);
Tailwind
colors: {
  custom: {
    50: '#b16fa3',
    500: '#8d2f7d',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f7d;
$custom-light: #b16fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f7d",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 125
  },
  "hsl": {
    "h": 310.213,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47157,
    "c": 0.15663,
    "h": 335.2
  },
  "luminance": 0.09176
}

Semantic roles & 50–950 ramp

primary
#8D2F7D
secondary
#64B471
accent
#DA664E
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D2F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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