#8D477E#8D477E

#8D477E is a mid, moderate pink. Relative luminance 0.117; OKLCH L 50.4% C 0.119 H 335.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8D477E
RGBrgb(141, 71, 126)
HSLhsl(313, 33%, 42%)
HSVhsv(313, 50%, 55%)
CMYKcmyk(0%, 49.6%, 10.6%, 44.7%)
CIE-LABlab(40.70, 37.35, -17.97)
CIE-LCHlch(40.70, 41.45, 334.31°)
OKLaboklab(50.4% 0.1083 -0.0485)
OKLCHoklch(50.4% 0.119 335.9)
XYZxyz(17.0037, 11.6767, 21.0928)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D477E #478D56
analogous
#79478D #8D477E #8D475B
triadic
#8D477E #7E8D47 #477E8D
tetradic
#8D477E #8D7947 #478D56 #475B8D
square
#8D477E #8D7947 #478D56 #475B8D
split-complementary
#8D477E #5B8D47 #478D79
monochromatic
#3C1E35 #64335A #8D477E #B0629F #C48AB8

Accessibility & contrast

On white

6.30
#8D477E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8D477E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D477E
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D477E#FFFFFF#000000##FFFFFF
##8D477E1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485980
Deuteranopia (green-blind)
#5B647C
Tritanopia (blue-blind)
#934A5C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d477e;
/* rgb */ color: rgb(141, 71, 126);
/* oklch */ color: oklch(50.4% 0.119 335.9);
Tailwind
colors: {
  custom: {
    50: '#b07da3',
    500: '#8d477e',
    950: '#000000',
  },
}
SCSS
$custom: #8d477e;
$custom-light: #b07da3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d477e",
  "rgb": {
    "r": 141,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 312.857,
    "s": 33.019,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50395,
    "c": 0.11863,
    "h": 335.9
  },
  "luminance": 0.11676
}

Semantic roles & 50–950 ramp

primary
#8D477E
secondary
#80B08A
accent
#C9755F
background
#FBF7FA
surface
#F6EEF3
border
#D0C9CD
text
#110A0F
muted
#807C7F

Preview Lab

Preview with #8D477E

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

Preview Lab → · Contrast checker → · Palette generator →

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