#A0317A#A0317A

#A0317A is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.2% C 0.165 H 344.3°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A0317A
RGBrgb(160, 49, 122)
HSLhsl(321, 53%, 41%)
HSVhsv(321, 69%, 63%)
CMYKcmyk(0%, 69.4%, 23.7%, 37.3%)
CIE-LABlab(39.71, 52.78, -16.76)
CIE-LCHlch(39.71, 55.38, 342.38°)
OKLaboklab(50.21% 0.1591 -0.0446)
OKLCHoklch(50.21% 0.165 344.3)
XYZxyz(19.1091, 11.0773, 19.5403)
Luminance0.1108 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0317A #31A057
analogous
#8E31A0 #A0317A #A03142
triadic
#A0317A #7AA031 #317AA0
tetradic
#A0317A #A08E31 #31A057 #3142A0
square
#A0317A #A08E31 #31A057 #3142A0
split-complementary
#A0317A #42A031 #31A08E
monochromatic
#421433 #712356 #A0317A #C7479B #D576B5

Accessibility & contrast

On white

6.53
#A0317A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A0317A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0317A
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0317A#FFFFFF#000000##FFFFFF
##A0317A1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D527C
Deuteranopia (green-blind)
#5E6477
Tritanopia (blue-blind)
#AA3051
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a0317a;
/* rgb */ color: rgb(160, 49, 122);
/* oklch */ color: oklch(50.2% 0.165 344.3);
Tailwind
colors: {
  custom: {
    50: '#c072a0',
    500: '#a0317a',
    950: '#000000',
  },
}
SCSS
$custom: #a0317a;
$custom-light: #c072a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a0317a",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 122
  },
  "hsl": {
    "h": 320.541,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50206,
    "c": 0.16522,
    "h": 344.3
  },
  "luminance": 0.11075
}

Semantic roles & 50–950 ramp

primary
#A0317A
secondary
#70BD8A
accent
#DD7D4B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A0317A

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

Preview Lab → · Contrast checker → · Palette generator →

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