#A5517D#A5517D

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

Color values

HEX#A5517D
RGBrgb(165, 81, 125)
HSLhsl(329, 34%, 48%)
HSVhsv(329, 51%, 65%)
CMYKcmyk(0%, 50.9%, 24.2%, 35.3%)
CIE-LABlab(46.13, 39.93, -8.79)
CIE-LCHlch(46.13, 40.89, 347.59°)
OKLaboklab(55.16% 0.1201 -0.0229)
OKLCHoklch(55.16% 0.122 349.2)
XYZxyz(22.1618, 15.3667, 21.1969)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5517D #51A579
analogous
#A351A5 #A5517D #A55153
triadic
#A5517D #7DA551 #517DA5
tetradic
#A5517D #A5A351 #51A579 #5153A5
square
#A5517D #A5A351 #51A579 #5153A5
split-complementary
#A5517D #53A551 #51A5A3
monochromatic
#53293F #7C3D5E #A5517D #BC779B #D0A0B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5517D#FFFFFF#000000##FFFFFF
##A5517D1.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)
#5A647E
Deuteranopia (green-blind)
#70737B
Tritanopia (blue-blind)
#AF4F62
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a5517d;
/* rgb */ color: rgb(165, 81, 125);
/* oklch */ color: oklch(55.2% 0.122 349.2);
Tailwind
colors: {
  custom: {
    50: '#c285a2',
    500: '#a5517d',
    950: '#000000',
  },
}
SCSS
$custom: #a5517d;
$custom-light: #c285a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a5517d",
  "rgb": {
    "r": 165,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 328.571,
    "s": 34.146,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55155,
    "c": 0.12222,
    "h": 349.2
  },
  "luminance": 0.15365
}

Semantic roles & 50–950 ramp

primary
#A5517D
secondary
#94BDA8
accent
#CA915E
background
#FCF8FA
surface
#F8EFF3
border
#D1CACD
text
#130B0F
muted
#827C7F

Preview Lab

Preview with #A5517D

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

Preview Lab → · Contrast checker → · Palette generator →

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