#A5508F#A5508F

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

Color values

HEX#A5508F
RGBrgb(165, 80, 143)
HSLhsl(316, 35%, 48%)
HSVhsv(316, 52%, 65%)
CMYKcmyk(0%, 51.5%, 13.3%, 35.3%)
CIE-LABlab(46.61, 43.27, -18.92)
CIE-LCHlch(46.61, 47.22, 336.38°)
OKLaboklab(55.73% 0.1266 -0.0509)
OKLCHoklch(55.73% 0.136 338.1)
XYZxyz(23.3438, 15.7215, 27.7863)
Luminance0.1572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5508F #50A566
analogous
#9050A5 #A5508F #A55065
triadic
#A5508F #8FA550 #508FA5
tetradic
#A5508F #A59050 #50A566 #5065A5
square
#A5508F #A59050 #50A566 #5065A5
split-complementary
#A5508F #65A550 #50A590
monochromatic
#532848 #7C3C6B #A5508F #BC76AA #D09FC4

Accessibility & contrast

On white

5.07
#A5508F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5508F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5508F#FFFFFF#000000##FFFFFF
##A5508F1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536691
Deuteranopia (green-blind)
#6A738D
Tritanopia (blue-blind)
#AD5369
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a5508f;
/* rgb */ color: rgb(165, 80, 143);
/* oklch */ color: oklch(55.7% 0.136 338.1);
Tailwind
colors: {
  custom: {
    50: '#c284b0',
    500: '#a5508f',
    950: '#000000',
  },
}
SCSS
$custom: #a5508f;
$custom-light: #c284b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a5508f",
  "rgb": {
    "r": 165,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 315.529,
    "s": 34.694,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55731,
    "c": 0.13647,
    "h": 338.1
  },
  "luminance": 0.1572
}

Semantic roles & 50–950 ramp

primary
#A5508F
secondary
#93BD9E
accent
#CB795D
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #A5508F

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

Preview Lab → · Contrast checker → · Palette generator →

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