#8F507A#8F507A

#8F507A is a mid, moderate pink. Relative luminance 0.130; OKLCH L 51.9% C 0.101 H 340.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8F507A
RGBrgb(143, 80, 122)
HSLhsl(320, 28%, 44%)
HSVhsv(320, 44%, 56%)
CMYKcmyk(0%, 44.1%, 14.7%, 43.9%)
CIE-LABlab(42.74, 32.40, -12.38)
CIE-LCHlch(42.74, 34.68, 339.08°)
OKLaboklab(51.93% 0.0951 -0.033)
OKLCHoklch(51.93% 0.101 340.9)
XYZxyz(17.7093, 12.9832, 19.9818)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F507A #508F65
analogous
#84508F #8F507A #8F505A
triadic
#8F507A #7A8F50 #507A8F
tetradic
#8F507A #8F8450 #508F65 #505A8F
square
#8F507A #8F8450 #508F65 #505A8F
split-complementary
#8F507A #5A8F50 #508F84
monochromatic
#412437 #683A59 #8F507A #AE6E99 #C495B4

Accessibility & contrast

On white

5.84
#8F507A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8F507A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F507A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F507A#FFFFFF#000000##FFFFFF
##8F507A1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535F7C
Deuteranopia (green-blind)
#636978
Tritanopia (blue-blind)
#965160
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f507a;
/* rgb */ color: rgb(143, 80, 122);
/* oklch */ color: oklch(51.9% 0.101 340.9);
Tailwind
colors: {
  custom: {
    50: '#b183a0',
    500: '#8f507a',
    950: '#000000',
  },
}
SCSS
$custom: #8f507a;
$custom-light: #b183a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f507a",
  "rgb": {
    "r": 143,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 320,
    "s": 28.251,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51929,
    "c": 0.10068,
    "h": 340.9
  },
  "luminance": 0.12982
}

Semantic roles & 50–950 ramp

primary
#8F507A
secondary
#8AB197
accent
#C58463
background
#FBF8F9
surface
#F6EFF2
border
#D0CACC
text
#110B0E
muted
#807C7E

Preview Lab

Preview with #8F507A

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

Preview Lab → · Contrast checker → · Palette generator →

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