#8D4E7A#8D4E7A

#8D4E7A is a mid, moderate pink. Relative luminance 0.125; OKLCH L 51.3% C 0.103 H 339.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8D4E7A
RGBrgb(141, 78, 122)
HSLhsl(318, 29%, 43%)
HSVhsv(318, 45%, 55%)
CMYKcmyk(0%, 44.7%, 13.5%, 44.7%)
CIE-LABlab(42.03, 32.82, -13.49)
CIE-LCHlch(42.03, 35.48, 337.66°)
OKLaboklab(51.34% 0.096 -0.036)
OKLCHoklch(51.34% 0.103 339.4)
XYZxyz(17.2219, 12.5177, 19.9177)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4E7A #4E8D61
analogous
#804E8D #8D4E7A #8D4E5A
triadic
#8D4E7A #7A8D4E #4E7A8D
tetradic
#8D4E7A #8D804E #4E8D61 #4E5A8D
square
#8D4E7A #8D804E #4E8D61 #4E5A8D
split-complementary
#8D4E7A #5A8D4E #4E8D80
monochromatic
#3E2236 #663858 #8D4E7A #AD6B99 #C392B4

Accessibility & contrast

On white

5.99
#8D4E7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8D4E7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4E7A
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4E7A#FFFFFF#000000##FFFFFF
##8D4E7A1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505D7C
Deuteranopia (green-blind)
#616778
Tritanopia (blue-blind)
#934F5E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d4e7a;
/* rgb */ color: rgb(141, 78, 122);
/* oklch */ color: oklch(51.3% 0.103 339.4);
Tailwind
colors: {
  custom: {
    50: '#b081a0',
    500: '#8d4e7a',
    950: '#000000',
  },
}
SCSS
$custom: #8d4e7a;
$custom-light: #b081a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4e7a",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 122
  },
  "hsl": {
    "h": 318.095,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51337,
    "c": 0.10253,
    "h": 339.4
  },
  "luminance": 0.12517
}

Semantic roles & 50–950 ramp

primary
#8D4E7A
secondary
#87AF93
accent
#C58063
background
#FBF8F9
surface
#F6EFF2
border
#D0CACC
text
#110A0E
muted
#807C7E

Preview Lab

Preview with #8D4E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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