#A6508D#A6508D

#A6508D is a mid, vivid pink. Relative luminance 0.158; OKLCH L 55.8% C 0.136 H 339.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A6508D
RGBrgb(166, 80, 141)
HSLhsl(317, 35%, 48%)
HSVhsv(317, 52%, 65%)
CMYKcmyk(0%, 51.8%, 15.1%, 34.9%)
CIE-LABlab(46.67, 43.26, -17.61)
CIE-LCHlch(46.67, 46.70, 337.85°)
OKLaboklab(55.78% 0.1273 -0.0472)
OKLCHoklch(55.78% 0.136 339.7)
XYZxyz(23.4026, 15.7691, 27.0053)
Luminance0.1577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6508D #50A669
analogous
#9450A6 #A6508D #A65062
triadic
#A6508D #8DA650 #508DA6
tetradic
#A6508D #A69450 #50A669 #5062A6
square
#A6508D #A69450 #50A669 #5062A6
split-complementary
#A6508D #62A650 #50A694
monochromatic
#532847 #7D3C6A #A6508D #BD76A8 #D19FC3

Accessibility & contrast

On white

5.06
#A6508D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#A6508D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6508D
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6508D#FFFFFF#000000##FFFFFF
##A6508D1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54668F
Deuteranopia (green-blind)
#6B748B
Tritanopia (blue-blind)
#AE5268
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a6508d;
/* rgb */ color: rgb(166, 80, 141);
/* oklch */ color: oklch(55.8% 0.136 339.7);
Tailwind
colors: {
  custom: {
    50: '#c284ae',
    500: '#a6508d',
    950: '#000000',
  },
}
SCSS
$custom: #a6508d;
$custom-light: #c284ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a6508d",
  "rgb": {
    "r": 166,
    "g": 80,
    "b": 141
  },
  "hsl": {
    "h": 317.442,
    "s": 34.959,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55781,
    "c": 0.13574,
    "h": 339.7
  },
  "luminance": 0.15767
}

Semantic roles & 50–950 ramp

primary
#A6508D
secondary
#94BEA0
accent
#CB7D5D
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #A6508D

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

Preview Lab → · Contrast checker → · Palette generator →

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