#A4317F#A4317F

#A4317F is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.171 H 343.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A4317F
RGBrgb(164, 49, 127)
HSLhsl(319, 54%, 42%)
HSVhsv(319, 70%, 64%)
CMYKcmyk(0%, 70.1%, 22.6%, 35.7%)
CIE-LABlab(40.61, 54.56, -18.41)
CIE-LCHlch(40.61, 57.59, 341.36°)
OKLaboklab(51.06% 0.1641 -0.0492)
OKLCHoklch(51.06% 0.171 343.3)
XYZxyz(20.2396, 11.6235, 21.2522)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4317F #31A456
analogous
#9031A4 #A4317F #A43146
triadic
#A4317F #7FA431 #317FA4
tetradic
#A4317F #A49031 #31A456 #3146A4
square
#A4317F #A49031 #31A456 #3146A4
split-complementary
#A4317F #46A431 #31A490
monochromatic
#461536 #75235B #A4317F #C949A0 #D779B9

Accessibility & contrast

On white

6.32
#A4317F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A4317F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4317F
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4317F#FFFFFF#000000##FFFFFF
##A4317F1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5481
Deuteranopia (green-blind)
#5F677C
Tritanopia (blue-blind)
#AE3153
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a4317f;
/* rgb */ color: rgb(164, 49, 127);
/* oklch */ color: oklch(51.1% 0.171 343.3);
Tailwind
colors: {
  custom: {
    50: '#c373a4',
    500: '#a4317f',
    950: '#000000',
  },
}
SCSS
$custom: #a4317f;
$custom-light: #c373a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a4317f",
  "rgb": {
    "r": 164,
    "g": 49,
    "b": 127
  },
  "hsl": {
    "h": 319.304,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51064,
    "c": 0.1713,
    "h": 343.3
  },
  "luminance": 0.11621
}

Semantic roles & 50–950 ramp

primary
#A4317F
secondary
#72BF8B
accent
#DD7A4A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A4317F

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

Preview Lab → · Contrast checker → · Palette generator →

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