#8D2F74#8D2F74

#8D2F74 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.7% C 0.150 H 339.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#8D2F74
RGBrgb(141, 47, 116)
HSLhsl(316, 50%, 37%)
HSVhsv(316, 67%, 55%)
CMYKcmyk(0%, 66.7%, 17.7%, 44.7%)
CIE-LABlab(35.90, 47.40, -19.15)
CIE-LCHlch(35.90, 51.12, 338.00°)
OKLaboklab(46.71% 0.1407 -0.0516)
OKLCHoklch(46.71% 0.15 339.9)
XYZxyz(15.1537, 8.9581, 17.4506)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F74 #2F8D48
analogous
#772F8D #8D2F74 #8D2F45
triadic
#8D2F74 #748D2F #2F748D
tetradic
#8D2F74 #8D772F #2F8D48 #2F458D
square
#8D2F74 #8D772F #2F8D48 #2F458D
split-complementary
#8D2F74 #458D2F #2F8D77
monochromatic
#311028 #5F204E #8D2F74 #BB3E9A #CD69B3

Accessibility & contrast

On white

7.52
#8D2F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2F74
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F74#FFFFFF#000000##FFFFFF
##8D2F741.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344B76
Deuteranopia (green-blind)
#515A72
Tritanopia (blue-blind)
#95324D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d2f74;
/* rgb */ color: rgb(141, 47, 116);
/* oklch */ color: oklch(46.7% 0.150 339.9);
Tailwind
colors: {
  custom: {
    50: '#b16f9c',
    500: '#8d2f74',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f74;
$custom-light: #b16f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f74",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 315.957,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46712,
    "c": 0.14987,
    "h": 339.9
  },
  "luminance": 0.08957
}

Semantic roles & 50–950 ramp

primary
#8D2F74
secondary
#64B479
accent
#DA734E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8D2F74

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

Preview Lab → · Contrast checker → · Palette generator →

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