#A3317C#A3317C

#A3317C is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.169 H 344.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A3317C
RGBrgb(163, 49, 124)
HSLhsl(321, 54%, 42%)
HSVhsv(321, 70%, 64%)
CMYKcmyk(0%, 69.9%, 23.9%, 36.1%)
CIE-LABlab(40.31, 53.88, -17.03)
CIE-LCHlch(40.31, 56.51, 342.46°)
OKLaboklab(50.77% 0.1625 -0.0453)
OKLCHoklch(50.77% 0.169 344.4)
XYZxyz(19.8414, 11.4404, 20.2282)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3317C #31A358
analogous
#9131A3 #A3317C #A33143
triadic
#A3317C #7CA331 #317CA3
tetradic
#A3317C #A39131 #31A358 #3143A3
square
#A3317C #A39131 #31A358 #3143A3
split-complementary
#A3317C #43A331 #31A391
monochromatic
#451534 #742358 #A3317C #C8499D #D678B6

Accessibility & contrast

On white

6.39
#A3317C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A3317C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3317C
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3317C#FFFFFF#000000##FFFFFF
##A3317C1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537E
Deuteranopia (green-blind)
#5F6679
Tritanopia (blue-blind)
#AE3052
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a3317c;
/* rgb */ color: rgb(163, 49, 124);
/* oklch */ color: oklch(50.8% 0.169 344.4);
Tailwind
colors: {
  custom: {
    50: '#c272a2',
    500: '#a3317c',
    950: '#000000',
  },
}
SCSS
$custom: #a3317c;
$custom-light: #c272a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a3317c",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 124
  },
  "hsl": {
    "h": 320.526,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50772,
    "c": 0.16869,
    "h": 344.4
  },
  "luminance": 0.11438
}

Semantic roles & 50–950 ramp

primary
#A3317C
secondary
#71BF8C
accent
#DD7D4B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #A3317C

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

Preview Lab → · Contrast checker → · Palette generator →

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