#A5316A#A5316A

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

Color values

HEX#A5316A
RGBrgb(165, 49, 106)
HSLhsl(331, 54%, 42%)
HSVhsv(331, 70%, 65%)
CMYKcmyk(0%, 70.3%, 35.8%, 35.3%)
CIE-LABlab(39.98, 52.18, -6.29)
CIE-LCHlch(39.98, 52.55, 353.12°)
OKLaboklab(50.37% 0.1597 -0.016)
OKLCHoklch(50.37% 0.161 354.3)
XYZxyz(19.2180, 11.2388, 14.7901)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5316A #31A56C
analogous
#A531A4 #A5316A #A53231
triadic
#A5316A #6AA531 #316AA5
tetradic
#A5316A #A4A531 #31A56C #3231A5
square
#A5316A #A4A531 #31A56C #3231A5
split-complementary
#A5316A #31A532 #31A4A5
monochromatic
#47152D #76234C #A5316A #C94A89 #D779A7

Accessibility & contrast

On white

6.47
#A5316A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A5316A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5316A
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5316A#FFFFFF#000000##FFFFFF
##A5316A1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45516C
Deuteranopia (green-blind)
#666667
Tritanopia (blue-blind)
#B22749
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5316a;
/* rgb */ color: rgb(165, 49, 106);
/* oklch */ color: oklch(50.4% 0.161 354.3);
Tailwind
colors: {
  custom: {
    50: '#c47294',
    500: '#a5316a',
    950: '#000000',
  },
}
SCSS
$custom: #a5316a;
$custom-light: #c47294;
$custom-dark: #000000;
JSON
{
  "hex": "#a5316a",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 106
  },
  "hsl": {
    "h": 330.517,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5037,
    "c": 0.16052,
    "h": 354.3
  },
  "luminance": 0.11237
}

Semantic roles & 50–950 ramp

primary
#A5316A
secondary
#72C09A
accent
#DE954A
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A5316A

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

Preview Lab → · Contrast checker → · Palette generator →

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