#8D2F7C#8D2F7C

#8D2F7C is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.1% C 0.156 H 335.7°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#8D2F7C
RGBrgb(141, 47, 124)
HSLhsl(311, 50%, 37%)
HSVhsv(311, 67%, 55%)
CMYKcmyk(0%, 66.7%, 12.1%, 44.7%)
CIE-LABlab(36.28, 48.66, -23.57)
CIE-LCHlch(36.28, 54.07, 334.15°)
OKLaboklab(47.11% 0.1421 -0.0641)
OKLCHoklch(47.11% 0.156 335.7)
XYZxyz(15.6393, 9.1523, 20.0078)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F7C #2F8D40
analogous
#6F2F8D #8D2F7C #8D2F4D
triadic
#8D2F7C #7C8D2F #2F7C8D
tetradic
#8D2F7C #8D6F2F #2F8D40 #2F4D8D
square
#8D2F7C #8D6F2F #2F8D40 #2F4D8D
split-complementary
#8D2F7C #4D8D2F #2F8D6F
monochromatic
#31102B #5F2054 #8D2F7C #BB3EA4 #CD69BB

Accessibility & contrast

On white

7.42
#8D2F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8D2F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2F7C
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F7C#FFFFFF#000000##FFFFFF
##8D2F7C1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7E
Deuteranopia (green-blind)
#4E5A7A
Tritanopia (blue-blind)
#943551
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2f7c;
/* rgb */ color: rgb(141, 47, 124);
/* oklch */ color: oklch(47.1% 0.156 335.7);
Tailwind
colors: {
  custom: {
    50: '#b16fa2',
    500: '#8d2f7c',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f7c;
$custom-light: #b16fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f7c",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 124
  },
  "hsl": {
    "h": 310.851,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47106,
    "c": 0.15586,
    "h": 335.7
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#8D2F7C
secondary
#64B472
accent
#DA674E
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D2F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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