#8F477A#8F477A

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

Color values

HEX#8F477A
RGBrgb(143, 71, 122)
HSLhsl(318, 34%, 42%)
HSVhsv(318, 50%, 56%)
CMYKcmyk(0%, 50.3%, 14.7%, 43.9%)
CIE-LABlab(40.82, 37.32, -15.30)
CIE-LCHlch(40.82, 40.33, 337.71°)
OKLaboklab(50.49% 0.1096 -0.041)
OKLCHoklch(50.49% 0.117 339.5)
XYZxyz(17.0940, 11.7525, 19.7767)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F477A #478F5C
analogous
#80478F #8F477A #8F4756
triadic
#8F477A #7A8F47 #477A8F
tetradic
#8F477A #8F8047 #478F5C #47568F
square
#8F477A #8F8047 #478F5C #47568F
split-complementary
#8F477A #568F47 #478F80
monochromatic
#3D1E34 #663357 #8F477A #B1629A #C58BB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F477A#FFFFFF#000000##FFFFFF
##8F477A1.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)
#4A597C
Deuteranopia (green-blind)
#5E6478
Tritanopia (blue-blind)
#96495B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f477a;
/* rgb */ color: rgb(143, 71, 122);
/* oklch */ color: oklch(50.5% 0.117 339.5);
Tailwind
colors: {
  custom: {
    50: '#b27da0',
    500: '#8f477a',
    950: '#000000',
  },
}
SCSS
$custom: #8f477a;
$custom-light: #b27da0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f477a",
  "rgb": {
    "r": 143,
    "g": 71,
    "b": 122
  },
  "hsl": {
    "h": 317.5,
    "s": 33.645,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50492,
    "c": 0.11701,
    "h": 339.5
  },
  "luminance": 0.11751
}

Semantic roles & 50–950 ramp

primary
#8F477A
secondary
#81B18F
accent
#CA7D5E
background
#FBF7F9
surface
#F6EEF2
border
#D0C9CC
text
#110A0E
muted
#807C7E

Preview Lab

Preview with #8F477A

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

Preview Lab → · Contrast checker → · Palette generator →

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