#8D2972#8D2972

#8D2972 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.157 H 340.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8D2972
RGBrgb(141, 41, 114)
HSLhsl(316, 55%, 36%)
HSVhsv(316, 71%, 55%)
CMYKcmyk(0%, 70.9%, 19.1%, 44.7%)
CIE-LABlab(34.93, 49.55, -19.39)
CIE-LCHlch(34.93, 53.21, 338.63°)
OKLaboklab(45.98% 0.1477 -0.0522)
OKLCHoklch(45.98% 0.157 340.5)
XYZxyz(14.8151, 8.4649, 16.7700)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2972 #298D44
analogous
#76298D #8D2972 #8D2940
triadic
#8D2972 #728D29 #29728D
tetradic
#8D2972 #8D7629 #298D44 #29408D
square
#8D2972 #8D7629 #298D44 #29408D
split-complementary
#8D2972 #408D29 #298D76
monochromatic
#2E0D25 #5E1B4C #8D2972 #BC3798 #D160B2

Accessibility & contrast

On white

7.80
#8D2972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8D2972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2972
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2972#FFFFFF#000000##FFFFFF
##8D29721.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304874
Deuteranopia (green-blind)
#4F5870
Tritanopia (blue-blind)
#952B4A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2972;
/* rgb */ color: rgb(141, 41, 114);
/* oklch */ color: oklch(46.0% 0.157 340.5);
Tailwind
colors: {
  custom: {
    50: '#b26c9a',
    500: '#8d2972',
    950: '#000000',
  },
}
SCSS
$custom: #8d2972;
$custom-light: #b26c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2972",
  "rgb": {
    "r": 141,
    "g": 41,
    "b": 114
  },
  "hsl": {
    "h": 316.2,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45975,
    "c": 0.15669,
    "h": 340.5
  },
  "luminance": 0.08464
}

Semantic roles & 50–950 ramp

primary
#8D2972
secondary
#5BB674
accent
#DE724A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2972

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

Preview Lab → · Contrast checker → · Palette generator →

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