#A5316B#A5316B

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

Color values

HEX#A5316B
RGBrgb(165, 49, 107)
HSLhsl(330, 54%, 42%)
HSVhsv(330, 70%, 65%)
CMYKcmyk(0%, 70.3%, 35.2%, 35.3%)
CIE-LABlab(40.01, 52.29, -6.87)
CIE-LCHlch(40.01, 52.74, 352.52°)
OKLaboklab(50.41% 0.16 -0.0175)
OKLCHoklch(50.41% 0.161 353.8)
XYZxyz(19.2703, 11.2597, 15.0656)
Luminance0.1126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5316B #31A56B
analogous
#A531A5 #A5316B #A53131
triadic
#A5316B #6BA531 #316BA5
tetradic
#A5316B #A5A531 #31A56B #3131A5
square
#A5316B #A5A531 #31A56B #3131A5
split-complementary
#A5316B #31A531 #31A5A5
monochromatic
#47152E #76234C #A5316B #C94A8A #D779A8

Accessibility & contrast

On white

6.46
#A5316B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5316B
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5316B#FFFFFF#000000##FFFFFF
##A5316B1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5316b;
/* rgb */ color: rgb(165, 49, 107);
/* oklch */ color: oklch(50.4% 0.161 353.8);
Tailwind
colors: {
  custom: {
    50: '#c47295',
    500: '#a5316b',
    950: '#000000',
  },
}
SCSS
$custom: #a5316b;
$custom-light: #c47295;
$custom-dark: #000000;
JSON
{
  "hex": "#a5316b",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 107
  },
  "hsl": {
    "h": 330,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50407,
    "c": 0.16098,
    "h": 353.8
  },
  "luminance": 0.11257
}

Semantic roles & 50–950 ramp

primary
#A5316B
secondary
#72C099
accent
#DE944A
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A5316B

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

Preview Lab → · Contrast checker → · Palette generator →

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