#8D2971#8D2971

#8D2971 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.156 H 341.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8D2971
RGBrgb(141, 41, 113)
HSLhsl(317, 55%, 36%)
HSVhsv(317, 71%, 55%)
CMYKcmyk(0%, 70.9%, 19.9%, 44.7%)
CIE-LABlab(34.89, 49.40, -18.83)
CIE-LCHlch(34.89, 52.87, 339.13°)
OKLaboklab(45.93% 0.1475 -0.0506)
OKLCHoklch(45.93% 0.156 341.1)
XYZxyz(14.7585, 8.4423, 16.4718)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2971 #298D45
analogous
#77298D #8D2971 #8D293F
triadic
#8D2971 #718D29 #29718D
tetradic
#8D2971 #8D7729 #298D45 #293F8D
square
#8D2971 #8D7729 #298D45 #293F8D
split-complementary
#8D2971 #3F8D29 #298D77
monochromatic
#2E0D25 #5E1B4B #8D2971 #BC3797 #D160B1

Accessibility & contrast

On white

7.81
#8D2971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2971
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2971#FFFFFF#000000##FFFFFF
##8D29711.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304873
Deuteranopia (green-blind)
#50586F
Tritanopia (blue-blind)
#962B49
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2971;
/* rgb */ color: rgb(141, 41, 113);
/* oklch */ color: oklch(45.9% 0.156 341.1);
Tailwind
colors: {
  custom: {
    50: '#b26c9a',
    500: '#8d2971',
    950: '#000000',
  },
}
SCSS
$custom: #8d2971;
$custom-light: #b26c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2971",
  "rgb": {
    "r": 141,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 316.8,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45927,
    "c": 0.156,
    "h": 341.1
  },
  "luminance": 0.08441
}

Semantic roles & 50–950 ramp

primary
#8D2971
secondary
#5BB675
accent
#DE734A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2971

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

Preview Lab → · Contrast checker → · Palette generator →

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