#8D2F73#8D2F73

#8D2F73 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.149 H 340.4°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#8D2F73
RGBrgb(141, 47, 115)
HSLhsl(317, 50%, 37%)
HSVhsv(317, 67%, 55%)
CMYKcmyk(0%, 66.7%, 18.4%, 44.7%)
CIE-LABlab(35.86, 47.25, -18.59)
CIE-LCHlch(35.86, 50.77, 338.52°)
OKLaboklab(46.67% 0.1405 -0.05)
OKLCHoklch(46.67% 0.149 340.4)
XYZxyz(15.0959, 8.9349, 17.1459)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F73 #2F8D49
analogous
#782F8D #8D2F73 #8D2F44
triadic
#8D2F73 #738D2F #2F738D
tetradic
#8D2F73 #8D782F #2F8D49 #2F448D
square
#8D2F73 #8D782F #2F8D49 #2F448D
split-complementary
#8D2F73 #448D2F #2F8D78
monochromatic
#311028 #5F204E #8D2F73 #BB3E98 #CD69B1

Accessibility & contrast

On white

7.54
#8D2F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8D2F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2F73
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F73#FFFFFF#000000##FFFFFF
##8D2F731.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354B75
Deuteranopia (green-blind)
#515A71
Tritanopia (blue-blind)
#95314C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d2f73;
/* rgb */ color: rgb(141, 47, 115);
/* oklch */ color: oklch(46.7% 0.149 340.4);
Tailwind
colors: {
  custom: {
    50: '#b16f9b',
    500: '#8d2f73',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f73;
$custom-light: #b16f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f73",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 316.596,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46665,
    "c": 0.14915,
    "h": 340.4
  },
  "luminance": 0.08934
}

Semantic roles & 50–950 ramp

primary
#8D2F73
secondary
#64B47A
accent
#DA754E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8D2F73

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

Preview Lab → · Contrast checker → · Palette generator →

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