#8C507A#8C507A

#8C507A is a mid, moderate pink. Relative luminance 0.127; OKLCH L 51.5% C 0.098 H 339.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8C507A
RGBrgb(140, 80, 122)
HSLhsl(318, 27%, 43%)
HSVhsv(318, 43%, 55%)
CMYKcmyk(0%, 42.9%, 12.9%, 45.1%)
CIE-LABlab(42.34, 31.34, -13.03)
CIE-LCHlch(42.34, 33.94, 337.43°)
OKLaboklab(51.54% 0.0915 -0.0348)
OKLCHoklch(51.54% 0.098 339.2)
XYZxyz(17.1968, 12.7190, 19.9578)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C507A #508C62
analogous
#80508C #8C507A #8C505C
triadic
#8C507A #7A8C50 #507A8C
tetradic
#8C507A #8C8050 #508C62 #505C8C
square
#8C507A #8C8050 #508C62 #505C8C
split-complementary
#8C507A #5C8C50 #508C80
monochromatic
#3E2336 #653A58 #8C507A #AC6D99 #C294B4

Accessibility & contrast

On white

5.93
#8C507A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8C507A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C507A
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C507A#FFFFFF#000000##FFFFFF
##8C507A1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c507a;
/* rgb */ color: rgb(140, 80, 122);
/* oklch */ color: oklch(51.5% 0.098 339.2);
Tailwind
colors: {
  custom: {
    50: '#af82a0',
    500: '#8c507a',
    950: '#000000',
  },
}
SCSS
$custom: #8c507a;
$custom-light: #af82a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8c507a",
  "rgb": {
    "r": 140,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 318,
    "s": 27.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51541,
    "c": 0.09791,
    "h": 339.2
  },
  "luminance": 0.12718
}

Semantic roles & 50–950 ramp

primary
#8C507A
secondary
#89AF94
accent
#C48164
background
#FAF8F9
surface
#F5EFF2
border
#CFCACC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8C507A

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

Preview Lab → · Contrast checker → · Palette generator →

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