#A5316C#A5316C

#A5316C is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.4% C 0.161 H 353.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A5316C
RGBrgb(165, 49, 108)
HSLhsl(329, 54%, 42%)
HSVhsv(329, 70%, 65%)
CMYKcmyk(0%, 70.3%, 34.5%, 35.3%)
CIE-LABlab(40.05, 52.41, -7.44)
CIE-LCHlch(40.05, 52.93, 351.92°)
OKLaboklab(50.44% 0.1603 -0.019)
OKLCHoklch(50.44% 0.161 353.2)
XYZxyz(19.3232, 11.2809, 15.3443)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5316C #31A56A
analogous
#A431A5 #A5316C #A53132
triadic
#A5316C #6CA531 #316CA5
tetradic
#A5316C #A5A431 #31A56A #3132A5
square
#A5316C #A5A431 #31A56A #3132A5
split-complementary
#A5316C #32A531 #31A5A4
monochromatic
#47152E #76234D #A5316C #C94A8B #D779A9

Accessibility & contrast

On white

6.45
#A5316C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A5316C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5316C
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5316C#FFFFFF#000000##FFFFFF
##A5316C1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45516E
Deuteranopia (green-blind)
#656669
Tritanopia (blue-blind)
#B2284A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5316c;
/* rgb */ color: rgb(165, 49, 108);
/* oklch */ color: oklch(50.4% 0.161 353.2);
Tailwind
colors: {
  custom: {
    50: '#c47296',
    500: '#a5316c',
    950: '#000000',
  },
}
SCSS
$custom: #a5316c;
$custom-light: #c47296;
$custom-dark: #000000;
JSON
{
  "hex": "#a5316c",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 108
  },
  "hsl": {
    "h": 329.483,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50445,
    "c": 0.16145,
    "h": 353.2
  },
  "luminance": 0.11279
}

Semantic roles & 50–950 ramp

primary
#A5316C
secondary
#72C098
accent
#DE934A
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A5316C

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

Preview Lab → · Contrast checker → · Palette generator →

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