#8D5E7B#8D5E7B

#8D5E7B is a mid, moderate pink. Relative luminance 0.151; OKLCH L 54.2% C 0.073 H 342.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8D5E7B
RGBrgb(141, 94, 123)
HSLhsl(323, 20%, 46%)
HSVhsv(323, 33%, 55%)
CMYKcmyk(0%, 33.3%, 12.8%, 44.7%)
CIE-LABlab(45.77, 23.84, -8.45)
CIE-LCHlch(45.77, 25.30, 340.49°)
OKLaboklab(54.18% 0.0697 -0.0223)
OKLCHoklch(54.18% 0.073 342.2)
XYZxyz(18.5624, 15.0991, 20.6717)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5E7B #5E8D70
analogous
#875E8D #8D5E7B #8D5E63
triadic
#8D5E7B #7B8D5E #5E7B8D
tetradic
#8D5E7B #8D875E #5E8D70 #5E638D
square
#8D5E7B #8D875E #5E8D70 #5E638D
split-complementary
#8D5E7B #638D5E #5E8D87
monochromatic
#442D3B #68465B #8D5E7B #A97F99 #C2A3B6

Accessibility & contrast

On white

5.22
#8D5E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8D5E7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5E7B
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5E7B#FFFFFF#000000##FFFFFF
##8D5E7B1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60687C
Deuteranopia (green-blind)
#6C6F7A
Tritanopia (blue-blind)
#935E68
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8d5e7b;
/* rgb */ color: rgb(141, 94, 123);
/* oklch */ color: oklch(54.2% 0.073 342.2);
Tailwind
colors: {
  custom: {
    50: '#af8ca1',
    500: '#8d5e7b',
    950: '#000000',
  },
}
SCSS
$custom: #8d5e7b;
$custom-light: #af8ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5e7b",
  "rgb": {
    "r": 141,
    "g": 94,
    "b": 123
  },
  "hsl": {
    "h": 322.979,
    "s": 20,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54183,
    "c": 0.0732,
    "h": 342.2
  },
  "luminance": 0.15098
}

Semantic roles & 50–950 ramp

primary
#8D5E7B
secondary
#97B0A0
accent
#BD8A6B
background
#FAF8F9
surface
#F4F0F2
border
#CECBCC
text
#100C0E
muted
#7F7D7E

Preview Lab

Preview with #8D5E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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