#8D487E#8D487E

#8D487E is a mid, moderate pink. Relative luminance 0.118; OKLCH L 50.5% C 0.117 H 336.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8D487E
RGBrgb(141, 72, 126)
HSLhsl(313, 32%, 42%)
HSVhsv(313, 49%, 55%)
CMYKcmyk(0%, 48.9%, 10.6%, 44.7%)
CIE-LABlab(40.90, 36.81, -17.65)
CIE-LCHlch(40.90, 40.82, 334.38°)
OKLaboklab(50.55% 0.1067 -0.0476)
OKLCHoklch(50.55% 0.117 336)
XYZxyz(17.0678, 11.8049, 21.1142)
Luminance0.1180 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D487E #488D57
analogous
#7A488D #8D487E #8D485C
triadic
#8D487E #7E8D48 #487E8D
tetradic
#8D487E #8D7A48 #488D57 #485C8D
square
#8D487E #8D7A48 #488D57 #485C8D
split-complementary
#8D487E #5C8D48 #488D7A
monochromatic
#3C1F36 #64335A #8D487E #AF639F #C48BB8

Accessibility & contrast

On white

6.25
#8D487E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8D487E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D487E
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D487E#FFFFFF#000000##FFFFFF
##8D487E1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495A80
Deuteranopia (green-blind)
#5C647C
Tritanopia (blue-blind)
#934B5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d487e;
/* rgb */ color: rgb(141, 72, 126);
/* oklch */ color: oklch(50.5% 0.117 336.0);
Tailwind
colors: {
  custom: {
    50: '#b07da3',
    500: '#8d487e',
    950: '#000000',
  },
}
SCSS
$custom: #8d487e;
$custom-light: #b07da3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d487e",
  "rgb": {
    "r": 141,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 313.043,
    "s": 32.394,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50549,
    "c": 0.11684,
    "h": 336
  },
  "luminance": 0.11804
}

Semantic roles & 50–950 ramp

primary
#8D487E
secondary
#81B08B
accent
#C9765F
background
#FBF7FA
surface
#F6EEF3
border
#D0C9CD
text
#110A0F
muted
#807C7F

Preview Lab

Preview with #8D487E

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

Preview Lab → · Contrast checker → · Palette generator →

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