#8D2F71#8D2F71

#8D2F71 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.6% C 0.148 H 341.5°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#8D2F71
RGBrgb(141, 47, 113)
HSLhsl(318, 50%, 37%)
HSVhsv(318, 67%, 55%)
CMYKcmyk(0%, 66.7%, 19.9%, 44.7%)
CIE-LABlab(35.77, 46.95, -17.47)
CIE-LCHlch(35.77, 50.09, 339.59°)
OKLaboklab(46.57% 0.1401 -0.0469)
OKLCHoklch(46.57% 0.148 341.5)
XYZxyz(14.9821, 8.8894, 16.5464)
Luminance0.0889 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F71 #2F8D4B
analogous
#7A2F8D #8D2F71 #8D2F42
triadic
#8D2F71 #718D2F #2F718D
tetradic
#8D2F71 #8D7A2F #2F8D4B #2F428D
square
#8D2F71 #8D7A2F #2F8D4B #2F428D
split-complementary
#8D2F71 #428D2F #2F8D7A
monochromatic
#311027 #5F204C #8D2F71 #BB3E96 #CD69AF

Accessibility & contrast

On white

7.56
#8D2F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8D2F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2F71
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F71#FFFFFF#000000##FFFFFF
##8D2F711.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364A73
Deuteranopia (green-blind)
#525A6F
Tritanopia (blue-blind)
#95304B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d2f71;
/* rgb */ color: rgb(141, 47, 113);
/* oklch */ color: oklch(46.6% 0.148 341.5);
Tailwind
colors: {
  custom: {
    50: '#b16e9a',
    500: '#8d2f71',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f71;
$custom-light: #b16e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f71",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 317.872,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46572,
    "c": 0.14774,
    "h": 341.5
  },
  "luminance": 0.08888
}

Semantic roles & 50–950 ramp

primary
#8D2F71
secondary
#64B47C
accent
#DA784E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8D2F71

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

Preview Lab → · Contrast checker → · Palette generator →

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