#8D2F76#8D2F76

#8D2F76 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.8% C 0.151 H 338.8°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8D2F76
RGBrgb(141, 47, 118)
HSLhsl(315, 50%, 37%)
HSVhsv(315, 67%, 55%)
CMYKcmyk(0%, 66.7%, 16.3%, 44.7%)
CIE-LABlab(35.99, 47.71, -20.26)
CIE-LCHlch(35.99, 51.83, 336.99°)
OKLaboklab(46.81% 0.1411 -0.0547)
OKLCHoklch(46.81% 0.151 338.8)
XYZxyz(15.2713, 9.0051, 18.0699)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F76 #2F8D46
analogous
#752F8D #8D2F76 #8D2F47
triadic
#8D2F76 #768D2F #2F768D
tetradic
#8D2F76 #8D752F #2F8D46 #2F478D
square
#8D2F76 #8D752F #2F8D46 #2F478D
split-complementary
#8D2F76 #478D2F #2F8D75
monochromatic
#311029 #5F2050 #8D2F76 #BB3E9C #CD69B5

Accessibility & contrast

On white

7.50
#8D2F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8D2F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2F76
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F76#FFFFFF#000000##FFFFFF
##8D2F761.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334B78
Deuteranopia (green-blind)
#505A74
Tritanopia (blue-blind)
#95324E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2f76;
/* rgb */ color: rgb(141, 47, 118);
/* oklch */ color: oklch(46.8% 0.151 338.8);
Tailwind
colors: {
  custom: {
    50: '#b16f9d',
    500: '#8d2f76',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f76;
$custom-light: #b16f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f76",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 314.681,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46808,
    "c": 0.15133,
    "h": 338.8
  },
  "luminance": 0.09004
}

Semantic roles & 50–950 ramp

primary
#8D2F76
secondary
#64B477
accent
#DA704E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8D2F76

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

Preview Lab → · Contrast checker → · Palette generator →

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