#8D2F72#8D2F72

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

Color values

HEX#8D2F72
RGBrgb(141, 47, 114)
HSLhsl(317, 50%, 37%)
HSVhsv(317, 67%, 55%)
CMYKcmyk(0%, 66.7%, 19.1%, 44.7%)
CIE-LABlab(35.81, 47.10, -18.03)
CIE-LCHlch(35.81, 50.43, 339.05°)
OKLaboklab(46.62% 0.1403 -0.0484)
OKLCHoklch(46.62% 0.148 341)
XYZxyz(15.0387, 8.9120, 16.8445)
Luminance0.0891 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F72 #2F8D4A
analogous
#792F8D #8D2F72 #8D2F43
triadic
#8D2F72 #728D2F #2F728D
tetradic
#8D2F72 #8D792F #2F8D4A #2F438D
square
#8D2F72 #8D792F #2F8D4A #2F438D
split-complementary
#8D2F72 #438D2F #2F8D79
monochromatic
#311028 #5F204D #8D2F72 #BB3E97 #CD69B0

Accessibility & contrast

On white

7.55
#8D2F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2F72
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F72#FFFFFF#000000##FFFFFF
##8D2F721.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354B74
Deuteranopia (green-blind)
#525A70
Tritanopia (blue-blind)
#95314C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d2f72;
/* rgb */ color: rgb(141, 47, 114);
/* oklch */ color: oklch(46.6% 0.148 341.0);
Tailwind
colors: {
  custom: {
    50: '#b16f9a',
    500: '#8d2f72',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f72;
$custom-light: #b16f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f72",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 317.234,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46618,
    "c": 0.14845,
    "h": 341
  },
  "luminance": 0.08911
}

Semantic roles & 50–950 ramp

primary
#8D2F72
secondary
#64B47B
accent
#DA764E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8D2F72

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

Preview Lab → · Contrast checker → · Palette generator →

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