#8A507A#8A507A

#8A507A is a mid, moderate pink. Relative luminance 0.125; OKLCH L 51.3% C 0.096 H 338.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8A507A
RGBrgb(138, 80, 122)
HSLhsl(317, 27%, 43%)
HSVhsv(317, 42%, 54%)
CMYKcmyk(0%, 42%, 11.6%, 45.9%)
CIE-LABlab(42.07, 30.64, -13.46)
CIE-LCHlch(42.07, 33.47, 336.29°)
OKLaboklab(51.29% 0.0891 -0.036)
OKLCHoklch(51.29% 0.096 338)
XYZxyz(16.8628, 12.5467, 19.9421)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A507A #508A60
analogous
#7D508A #8A507A #8A505D
triadic
#8A507A #7A8A50 #507A8A
tetradic
#8A507A #8A7D50 #508A60 #505D8A
square
#8A507A #8A7D50 #508A60 #505D8A
split-complementary
#8A507A #5D8A50 #508A7D
monochromatic
#3D2336 #633A58 #8A507A #AA6D99 #C194B4

Accessibility & contrast

On white

5.98
#8A507A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8A507A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A507A
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A507A#FFFFFF#000000##FFFFFF
##8A507A1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515E7C
Deuteranopia (green-blind)
#606778
Tritanopia (blue-blind)
#905260
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a507a;
/* rgb */ color: rgb(138, 80, 122);
/* oklch */ color: oklch(51.3% 0.096 338.0);
Tailwind
colors: {
  custom: {
    50: '#ad82a0',
    500: '#8a507a',
    950: '#000000',
  },
}
SCSS
$custom: #8a507a;
$custom-light: #ad82a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a507a",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 316.552,
    "s": 26.606,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51285,
    "c": 0.09609,
    "h": 338
  },
  "luminance": 0.12546
}

Semantic roles & 50–950 ramp

primary
#8A507A
secondary
#88AE93
accent
#C37F65
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A507A

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

Preview Lab → · Contrast checker → · Palette generator →

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