#A5517C#A5517C

#A5517C is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.1% C 0.122 H 349.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A5517C
RGBrgb(165, 81, 124)
HSLhsl(329, 34%, 48%)
HSVhsv(329, 51%, 65%)
CMYKcmyk(0%, 50.9%, 24.8%, 35.3%)
CIE-LABlab(46.10, 39.79, -8.23)
CIE-LCHlch(46.10, 40.63, 348.31°)
OKLaboklab(55.12% 0.1197 -0.0214)
OKLCHoklch(55.12% 0.122 349.9)
XYZxyz(22.0982, 15.3413, 20.8622)
Luminance0.1534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5517C #51A57A
analogous
#A451A5 #A5517C #A55152
triadic
#A5517C #7CA551 #517CA5
tetradic
#A5517C #A5A451 #51A57A #5152A5
square
#A5517C #A5A451 #51A57A #5152A5
split-complementary
#A5517C #52A551 #51A5A4
monochromatic
#53293E #7C3D5D #A5517C #BC779A #D0A0B9

Accessibility & contrast

On white

5.16
#A5517C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#A5517C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5517C
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5517C#FFFFFF#000000##FFFFFF
##A5517C1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A647D
Deuteranopia (green-blind)
#70737A
Tritanopia (blue-blind)
#AF4E61
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a5517c;
/* rgb */ color: rgb(165, 81, 124);
/* oklch */ color: oklch(55.1% 0.122 349.9);
Tailwind
colors: {
  custom: {
    50: '#c285a1',
    500: '#a5517c',
    950: '#000000',
  },
}
SCSS
$custom: #a5517c;
$custom-light: #c285a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a5517c",
  "rgb": {
    "r": 165,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 329.286,
    "s": 34.146,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55118,
    "c": 0.12164,
    "h": 349.9
  },
  "luminance": 0.15339
}

Semantic roles & 50–950 ramp

primary
#A5517C
secondary
#94BDA8
accent
#CA935E
background
#FCF8F9
surface
#F8EFF2
border
#D1CACC
text
#130B0F
muted
#827C7E

Preview Lab

Preview with #A5517C

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

Preview Lab → · Contrast checker → · Palette generator →

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