#A5316D#A5316D

#A5316D is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.5% C 0.162 H 352.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A5316D
RGBrgb(165, 49, 109)
HSLhsl(329, 54%, 42%)
HSVhsv(329, 70%, 65%)
CMYKcmyk(0%, 70.3%, 33.9%, 35.3%)
CIE-LABlab(40.09, 52.53, -8.01)
CIE-LCHlch(40.09, 53.14, 351.33°)
OKLaboklab(50.48% 0.1606 -0.0206)
OKLCHoklch(50.48% 0.162 352.7)
XYZxyz(19.3768, 11.3023, 15.6262)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5316D #31A569
analogous
#A331A5 #A5316D #A53133
triadic
#A5316D #6DA531 #316DA5
tetradic
#A5316D #A5A331 #31A569 #3133A5
square
#A5316D #A5A331 #31A569 #3133A5
split-complementary
#A5316D #33A531 #31A5A3
monochromatic
#47152F #76234E #A5316D #C94A8C #D779AA

Accessibility & contrast

On white

6.44
#A5316D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5316D
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5316D#FFFFFF#000000##FFFFFF
##A5316D1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44516F
Deuteranopia (green-blind)
#65666A
Tritanopia (blue-blind)
#B2284B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5316d;
/* rgb */ color: rgb(165, 49, 109);
/* oklch */ color: oklch(50.5% 0.162 352.7);
Tailwind
colors: {
  custom: {
    50: '#c47296',
    500: '#a5316d',
    950: '#000000',
  },
}
SCSS
$custom: #a5316d;
$custom-light: #c47296;
$custom-dark: #000000;
JSON
{
  "hex": "#a5316d",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 109
  },
  "hsl": {
    "h": 328.966,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50482,
    "c": 0.16193,
    "h": 352.7
  },
  "luminance": 0.113
}

Semantic roles & 50–950 ramp

primary
#A5316D
secondary
#72C098
accent
#DE914A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A5316D

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

Preview Lab → · Contrast checker → · Palette generator →

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