#A5316E#A5316E

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

Color values

HEX#A5316E
RGBrgb(165, 49, 110)
HSLhsl(328, 54%, 42%)
HSVhsv(328, 70%, 65%)
CMYKcmyk(0%, 70.3%, 33.3%, 35.3%)
CIE-LABlab(40.12, 52.65, -8.58)
CIE-LCHlch(40.12, 53.34, 350.74°)
OKLaboklab(50.52% 0.1609 -0.0221)
OKLCHoklch(50.52% 0.162 352.2)
XYZxyz(19.4309, 11.3240, 15.9113)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5316E #31A568
analogous
#A231A5 #A5316E #A53134
triadic
#A5316E #6EA531 #316EA5
tetradic
#A5316E #A5A231 #31A568 #3134A5
square
#A5316E #A5A231 #31A568 #3134A5
split-complementary
#A5316E #34A531 #31A5A2
monochromatic
#47152F #76234F #A5316E #C94A8D #D779AB

Accessibility & contrast

On white

6.43
#A5316E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5316E
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5316E#FFFFFF#000000##FFFFFF
##A5316E1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445170
Deuteranopia (green-blind)
#65666B
Tritanopia (blue-blind)
#B1294B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5316e;
/* rgb */ color: rgb(165, 49, 110);
/* oklch */ color: oklch(50.5% 0.162 352.2);
Tailwind
colors: {
  custom: {
    50: '#c47297',
    500: '#a5316e',
    950: '#000000',
  },
}
SCSS
$custom: #a5316e;
$custom-light: #c47297;
$custom-dark: #000000;
JSON
{
  "hex": "#a5316e",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 110
  },
  "hsl": {
    "h": 328.448,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5052,
    "c": 0.16241,
    "h": 352.2
  },
  "luminance": 0.11322
}

Semantic roles & 50–950 ramp

primary
#A5316E
secondary
#72C097
accent
#DE904A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A5316E

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

Preview Lab → · Contrast checker → · Palette generator →

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