#8D4271#8D4271

#8D4271 is a mid, moderate pink. Relative luminance 0.108; OKLCH L 49.1% C 0.117 H 343.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8D4271
RGBrgb(141, 66, 113)
HSLhsl(322, 36%, 41%)
HSVhsv(322, 53%, 55%)
CMYKcmyk(0%, 53.2%, 19.9%, 44.7%)
CIE-LABlab(39.16, 37.82, -12.29)
CIE-LCHlch(39.16, 39.76, 342.00°)
OKLaboklab(49.08% 0.1126 -0.0326)
OKLCHoklch(49.08% 0.117 343.9)
XYZxyz(15.9137, 10.7527, 16.8569)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4271 #428D5E
analogous
#83428D #8D4271 #8D424B
triadic
#8D4271 #718D42 #42718D
tetradic
#8D4271 #8D8342 #428D5E #424B8D
square
#8D4271 #8D8342 #428D5E #424B8D
split-complementary
#8D4271 #4B8D42 #428D83
monochromatic
#3A1B2E #632E50 #8D4271 #B25A91 #C584AD

Accessibility & contrast

On white

6.67
#8D4271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8D4271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4271
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4271#FFFFFF#000000##FFFFFF
##8D42711.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485473
Deuteranopia (green-blind)
#5C616F
Tritanopia (blue-blind)
#954254
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d4271;
/* rgb */ color: rgb(141, 66, 113);
/* oklch */ color: oklch(49.1% 0.117 343.9);
Tailwind
colors: {
  custom: {
    50: '#b07999',
    500: '#8d4271',
    950: '#000000',
  },
}
SCSS
$custom: #8d4271;
$custom-light: #b07999;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4271",
  "rgb": {
    "r": 141,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 322.4,
    "s": 36.232,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49077,
    "c": 0.11726,
    "h": 343.9
  },
  "luminance": 0.10751
}

Semantic roles & 50–950 ramp

primary
#8D4271
secondary
#7BB08F
accent
#CC865C
background
#FBF7F9
surface
#F6EEF2
border
#D0C9CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8D4271

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

Preview Lab → · Contrast checker → · Palette generator →

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