#A3317F#A3317F

#A3317F is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.171 H 343.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A3317F
RGBrgb(163, 49, 127)
HSLhsl(319, 54%, 42%)
HSVhsv(319, 70%, 64%)
CMYKcmyk(0%, 69.9%, 22.1%, 36.1%)
CIE-LABlab(40.44, 54.29, -18.69)
CIE-LCHlch(40.44, 57.42, 341.01°)
OKLaboklab(50.91% 0.1631 -0.05)
OKLCHoklch(50.91% 0.171 343)
XYZxyz(20.0340, 11.5175, 21.2426)
Luminance0.1152 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3317F #31A355
analogous
#8E31A3 #A3317F #A33146
triadic
#A3317F #7FA331 #317FA3
tetradic
#A3317F #A38E31 #31A355 #3146A3
square
#A3317F #A38E31 #31A355 #3146A3
split-complementary
#A3317F #46A331 #31A38E
monochromatic
#451536 #74235A #A3317F #C849A0 #D678B9

Accessibility & contrast

On white

6.36
#A3317F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A3317F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3317F
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3317F#FFFFFF#000000##FFFFFF
##A3317F1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5381
Deuteranopia (green-blind)
#5E667C
Tritanopia (blue-blind)
#AD3153
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a3317f;
/* rgb */ color: rgb(163, 49, 127);
/* oklch */ color: oklch(50.9% 0.171 343.0);
Tailwind
colors: {
  custom: {
    50: '#c273a4',
    500: '#a3317f',
    950: '#000000',
  },
}
SCSS
$custom: #a3317f;
$custom-light: #c273a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a3317f",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 127
  },
  "hsl": {
    "h": 318.947,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50906,
    "c": 0.17059,
    "h": 343
  },
  "luminance": 0.11515
}

Semantic roles & 50–950 ramp

primary
#A3317F
secondary
#71BF8A
accent
#DD794B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A3317F

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

Preview Lab → · Contrast checker → · Palette generator →

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