#A5317A#A5317A

#A5317A is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.169 H 346.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A5317A
RGBrgb(165, 49, 122)
HSLhsl(322, 54%, 42%)
HSVhsv(322, 70%, 65%)
CMYKcmyk(0%, 70.3%, 26.1%, 35.3%)
CIE-LABlab(40.58, 54.16, -15.35)
CIE-LCHlch(40.58, 56.30, 344.17°)
OKLaboklab(51.01% 0.164 -0.0407)
OKLCHoklch(51.01% 0.169 346.1)
XYZxyz(20.1290, 11.6032, 19.5882)
Luminance0.1160 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5317A #31A55C
analogous
#9631A5 #A5317A #A53140
triadic
#A5317A #7AA531 #317AA5
tetradic
#A5317A #A59631 #31A55C #3140A5
square
#A5317A #A59631 #31A55C #3140A5
split-complementary
#A5317A #40A531 #31A596
monochromatic
#471534 #762357 #A5317A #C94A9A #D779B4

Accessibility & contrast

On white

6.32
#A5317A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A5317A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5317A
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5317A#FFFFFF#000000##FFFFFF
##A5317A1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F537C
Deuteranopia (green-blind)
#616777
Tritanopia (blue-blind)
#B02E51
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a5317a;
/* rgb */ color: rgb(165, 49, 122);
/* oklch */ color: oklch(51.0% 0.169 346.1);
Tailwind
colors: {
  custom: {
    50: '#c373a0',
    500: '#a5317a',
    950: '#000000',
  },
}
SCSS
$custom: #a5317a;
$custom-light: #c373a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a5317a",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 122
  },
  "hsl": {
    "h": 322.241,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51006,
    "c": 0.16896,
    "h": 346.1
  },
  "luminance": 0.11601
}

Semantic roles & 50–950 ramp

primary
#A5317A
secondary
#72C08F
accent
#DE814A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #A5317A

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

Preview Lab → · Contrast checker → · Palette generator →

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