#8D487C#8D487C

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

Color values

HEX#8D487C
RGBrgb(141, 72, 124)
HSLhsl(315, 32%, 42%)
HSVhsv(315, 49%, 55%)
CMYKcmyk(0%, 48.9%, 12.1%, 44.7%)
CIE-LABlab(40.82, 36.46, -16.55)
CIE-LCHlch(40.82, 40.04, 335.58°)
OKLaboklab(50.46% 0.1062 -0.0445)
OKLCHoklch(50.46% 0.115 337.2)
XYZxyz(16.9400, 11.7538, 20.4413)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D487C #488D59
analogous
#7C488D #8D487C #8D485A
triadic
#8D487C #7C8D48 #487C8D
tetradic
#8D487C #8D7C48 #488D59 #485A8D
square
#8D487C #8D7C48 #488D59 #485A8D
split-complementary
#8D487C #5A8D48 #488D7C
monochromatic
#3C1F35 #643358 #8D487C #AF639C #C48BB6

Accessibility & contrast

On white

6.27
#8D487C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8D487C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D487C
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D487C#FFFFFF#000000##FFFFFF
##8D487C1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495A7E
Deuteranopia (green-blind)
#5C647A
Tritanopia (blue-blind)
#934A5C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d487c;
/* rgb */ color: rgb(141, 72, 124);
/* oklch */ color: oklch(50.5% 0.115 337.2);
Tailwind
colors: {
  custom: {
    50: '#b07da2',
    500: '#8d487c',
    950: '#000000',
  },
}
SCSS
$custom: #8d487c;
$custom-light: #b07da2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d487c",
  "rgb": {
    "r": 141,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 314.783,
    "s": 32.394,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5046,
    "c": 0.11514,
    "h": 337.2
  },
  "luminance": 0.11753
}

Semantic roles & 50–950 ramp

primary
#8D487C
secondary
#81B08D
accent
#C9795F
background
#FBF7F9
surface
#F6EEF2
border
#D0C9CC
text
#110A0F
muted
#807C7E

Preview Lab

Preview with #8D487C

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

Preview Lab → · Contrast checker → · Palette generator →

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