#A6508A#A6508A

#A6508A is a mid, vivid pink. Relative luminance 0.157; OKLCH L 55.7% C 0.134 H 341.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A6508A
RGBrgb(166, 80, 138)
HSLhsl(320, 35%, 48%)
HSVhsv(320, 52%, 65%)
CMYKcmyk(0%, 51.8%, 16.9%, 34.9%)
CIE-LABlab(46.55, 42.77, -15.98)
CIE-LCHlch(46.55, 45.66, 339.51°)
OKLaboklab(55.66% 0.1265 -0.0427)
OKLCHoklch(55.66% 0.134 341.4)
XYZxyz(23.1824, 15.6811, 25.8456)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6508A #50A66C
analogous
#9750A6 #A6508A #A6505F
triadic
#A6508A #8AA650 #508AA6
tetradic
#A6508A #A69750 #50A66C #505FA6
square
#A6508A #A69750 #50A66C #505FA6
split-complementary
#A6508A #5FA650 #50A697
monochromatic
#532845 #7D3C68 #A6508A #BD76A6 #D19FC1

Accessibility & contrast

On white

5.08
#A6508A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#A6508A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6508A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6508A#FFFFFF#000000##FFFFFF
##A6508A1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55668C
Deuteranopia (green-blind)
#6C7388
Tritanopia (blue-blind)
#AF5167
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a6508a;
/* rgb */ color: rgb(166, 80, 138);
/* oklch */ color: oklch(55.7% 0.134 341.4);
Tailwind
colors: {
  custom: {
    50: '#c384ac',
    500: '#a6508a',
    950: '#000000',
  },
}
SCSS
$custom: #a6508a;
$custom-light: #c384ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a6508a",
  "rgb": {
    "r": 166,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 319.535,
    "s": 34.959,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55655,
    "c": 0.13351,
    "h": 341.4
  },
  "luminance": 0.15679
}

Semantic roles & 50–950 ramp

primary
#A6508A
secondary
#94BEA2
accent
#CB815D
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #A6508A

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

Preview Lab → · Contrast checker → · Palette generator →

#A6508A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva