#A5518D#A5518D

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

Color values

HEX#A5518D
RGBrgb(165, 81, 141)
HSLhsl(317, 34%, 48%)
HSVhsv(317, 51%, 65%)
CMYKcmyk(0%, 50.9%, 14.5%, 35.3%)
CIE-LABlab(46.72, 42.42, -17.54)
CIE-LCHlch(46.72, 45.91, 337.54°)
OKLaboklab(55.79% 0.1246 -0.047)
OKLCHoklch(55.79% 0.133 339.3)
XYZxyz(23.2675, 15.8090, 27.0201)
Luminance0.1581 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5518D #51A569
analogous
#9351A5 #A5518D #A55163
triadic
#A5518D #8DA551 #518DA5
tetradic
#A5518D #A59351 #51A569 #5163A5
square
#A5518D #A59351 #51A569 #5163A5
split-complementary
#A5518D #63A551 #51A593
monochromatic
#532947 #7C3D6A #A5518D #BC77A8 #D0A0C3

Accessibility & contrast

On white

5.05
#A5518D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#A5518D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5518D
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5518D#FFFFFF#000000##FFFFFF
##A5518D1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5518d;
/* rgb */ color: rgb(165, 81, 141);
/* oklch */ color: oklch(55.8% 0.133 339.3);
Tailwind
colors: {
  custom: {
    50: '#c285ae',
    500: '#a5518d',
    950: '#000000',
  },
}
SCSS
$custom: #a5518d;
$custom-light: #c285ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a5518d",
  "rgb": {
    "r": 165,
    "g": 81,
    "b": 141
  },
  "hsl": {
    "h": 317.143,
    "s": 34.146,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55791,
    "c": 0.1332,
    "h": 339.3
  },
  "luminance": 0.15807
}

Semantic roles & 50–950 ramp

primary
#A5518D
secondary
#94BDA0
accent
#CA7D5E
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #A5518D

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

Preview Lab → · Contrast checker → · Palette generator →

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