#8D5F71#8D5F71

#8D5F71 is a mid, moderate pink. Relative luminance 0.150; OKLCH L 54.0% C 0.065 H 354.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8D5F71
RGBrgb(141, 95, 113)
HSLhsl(337, 19%, 46%)
HSVhsv(337, 33%, 55%)
CMYKcmyk(0%, 32.6%, 19.9%, 44.7%)
CIE-LABlab(45.69, 21.53, -2.53)
CIE-LCHlch(45.69, 21.68, 353.31°)
OKLaboklab(54.02% 0.0644 -0.0064)
OKLCHoklch(54.02% 0.065 354.3)
XYZxyz(18.0575, 15.0404, 17.5715)
Luminance0.1504 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5F71 #5F8D7B
analogous
#8D5F88 #8D5F71 #8D645F
triadic
#8D5F71 #718D5F #5F718D
tetradic
#8D5F71 #888D5F #5F8D7B #645F8D
square
#8D5F71 #888D5F #5F8D7B #645F8D
split-complementary
#8D5F71 #5F8D64 #5F888D
monochromatic
#442E36 #684654 #8D5F71 #A98090 #C2A4B0

Accessibility & contrast

On white

5.24
#8D5F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8D5F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5F71
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5F71#FFFFFF#000000##FFFFFF
##8D5F711.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646772
Deuteranopia (green-blind)
#6F6F70
Tritanopia (blue-blind)
#945D65
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8d5f71;
/* rgb */ color: rgb(141, 95, 113);
/* oklch */ color: oklch(54.0% 0.065 354.3);
Tailwind
colors: {
  custom: {
    50: '#af8d99',
    500: '#8d5f71',
    950: '#000000',
  },
}
SCSS
$custom: #8d5f71;
$custom-light: #af8d99;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5f71",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 113
  },
  "hsl": {
    "h": 336.522,
    "s": 19.492,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54015,
    "c": 0.06467,
    "h": 354.3
  },
  "luminance": 0.15039
}

Semantic roles & 50–950 ramp

primary
#8D5F71
secondary
#97B0A7
accent
#BC9D6C
background
#FAF8F9
surface
#F5F0F2
border
#CFCBCC
text
#100C0E
muted
#7F7D7E

Preview Lab

Preview with #8D5F71

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

Preview Lab → · Contrast checker → · Palette generator →

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