#8B507A#8B507A

#8B507A is a mid, moderate pink. Relative luminance 0.126; OKLCH L 51.4% C 0.097 H 338.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8B507A
RGBrgb(139, 80, 122)
HSLhsl(317, 27%, 43%)
HSVhsv(317, 42%, 55%)
CMYKcmyk(0%, 42.4%, 12.2%, 45.5%)
CIE-LABlab(42.20, 30.99, -13.24)
CIE-LCHlch(42.20, 33.70, 336.86°)
OKLaboklab(51.41% 0.0903 -0.0354)
OKLCHoklch(51.41% 0.097 338.6)
XYZxyz(17.0290, 12.6324, 19.9499)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B507A #508B61
analogous
#7E508B #8B507A #8B505C
triadic
#8B507A #7A8B50 #507A8B
tetradic
#8B507A #8B7E50 #508B61 #505C8B
square
#8B507A #8B7E50 #508B61 #505C8B
split-complementary
#8B507A #5C8B50 #508B7E
monochromatic
#3D2336 #643A58 #8B507A #AB6D99 #C194B4

Accessibility & contrast

On white

5.96
#8B507A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8B507A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B507A
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B507A#FFFFFF#000000##FFFFFF
##8B507A1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525E7C
Deuteranopia (green-blind)
#616778
Tritanopia (blue-blind)
#915160
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b507a;
/* rgb */ color: rgb(139, 80, 122);
/* oklch */ color: oklch(51.4% 0.097 338.6);
Tailwind
colors: {
  custom: {
    50: '#ae82a0',
    500: '#8b507a',
    950: '#000000',
  },
}
SCSS
$custom: #8b507a;
$custom-light: #ae82a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b507a",
  "rgb": {
    "r": 139,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 317.288,
    "s": 26.941,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51413,
    "c": 0.09699,
    "h": 338.6
  },
  "luminance": 0.12631
}

Semantic roles & 50–950 ramp

primary
#8B507A
secondary
#89AE93
accent
#C38065
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8B507A

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

Preview Lab → · Contrast checker → · Palette generator →

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