#A5316F#A5316F

#A5316F is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.163 H 351.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A5316F
RGBrgb(165, 49, 111)
HSLhsl(328, 54%, 42%)
HSVhsv(328, 70%, 65%)
CMYKcmyk(0%, 70.3%, 32.7%, 35.3%)
CIE-LABlab(40.16, 52.77, -9.15)
CIE-LCHlch(40.16, 53.56, 350.16°)
OKLaboklab(50.56% 0.1612 -0.0237)
OKLCHoklch(50.56% 0.163 351.6)
XYZxyz(19.4857, 11.3459, 16.1997)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5316F #31A567
analogous
#A131A5 #A5316F #A53135
triadic
#A5316F #6FA531 #316FA5
tetradic
#A5316F #A5A131 #31A567 #3135A5
square
#A5316F #A5A131 #31A567 #3135A5
split-complementary
#A5316F #35A531 #31A5A1
monochromatic
#471530 #76234F #A5316F #C94A8E #D779AB

Accessibility & contrast

On white

6.42
#A5316F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A5316F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5316F
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5316F#FFFFFF#000000##FFFFFF
##A5316F1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445171
Deuteranopia (green-blind)
#64666C
Tritanopia (blue-blind)
#B1294C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5316f;
/* rgb */ color: rgb(165, 49, 111);
/* oklch */ color: oklch(50.6% 0.163 351.6);
Tailwind
colors: {
  custom: {
    50: '#c47298',
    500: '#a5316f',
    950: '#000000',
  },
}
SCSS
$custom: #a5316f;
$custom-light: #c47298;
$custom-dark: #000000;
JSON
{
  "hex": "#a5316f",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 111
  },
  "hsl": {
    "h": 327.931,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50559,
    "c": 0.16292,
    "h": 351.6
  },
  "luminance": 0.11344
}

Semantic roles & 50–950 ramp

primary
#A5316F
secondary
#72C096
accent
#DE8F4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A5316F

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

Preview Lab → · Contrast checker → · Palette generator →

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