#8D5173#8D5173

#8D5173 is a mid, moderate pink. Relative luminance 0.128; OKLCH L 51.6% C 0.092 H 345.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8D5173
RGBrgb(141, 81, 115)
HSLhsl(326, 27%, 44%)
HSVhsv(326, 43%, 55%)
CMYKcmyk(0%, 42.6%, 18.4%, 44.7%)
CIE-LABlab(42.44, 29.94, -8.57)
CIE-LCHlch(42.44, 31.14, 344.02°)
OKLaboklab(51.56% 0.0888 -0.0226)
OKLCHoklch(51.56% 0.092 345.7)
XYZxyz(17.0217, 12.7865, 17.7878)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5173 #518D6B
analogous
#89518D #8D5173 #8D5155
triadic
#8D5173 #738D51 #51738D
tetradic
#8D5173 #8D8951 #518D6B #51558D
square
#8D5173 #8D8951 #518D6B #51558D
split-complementary
#8D5173 #558D51 #518D89
monochromatic
#3F2434 #663B53 #8D5173 #AC6F92 #C396AF

Accessibility & contrast

On white

5.90
#8D5173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8D5173 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5173
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5173#FFFFFF#000000##FFFFFF
##8D51731.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565E74
Deuteranopia (green-blind)
#656871
Tritanopia (blue-blind)
#94505D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d5173;
/* rgb */ color: rgb(141, 81, 115);
/* oklch */ color: oklch(51.6% 0.092 345.7);
Tailwind
colors: {
  custom: {
    50: '#b0839b',
    500: '#8d5173',
    950: '#000000',
  },
}
SCSS
$custom: #8d5173;
$custom-light: #b0839b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5173",
  "rgb": {
    "r": 141,
    "g": 81,
    "b": 115
  },
  "hsl": {
    "h": 326,
    "s": 27.027,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51564,
    "c": 0.09165,
    "h": 345.7
  },
  "luminance": 0.12785
}

Semantic roles & 50–950 ramp

primary
#8D5173
secondary
#8AAF9A
accent
#C38E64
background
#FAF8F9
surface
#F5EFF2
border
#CFCACC
text
#110B0E
muted
#807C7E

Preview Lab

Preview with #8D5173

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

Preview Lab → · Contrast checker → · Palette generator →

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