#A4317C#A4317C

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

Color values

HEX#A4317C
RGBrgb(164, 49, 124)
HSLhsl(321, 54%, 42%)
HSVhsv(321, 70%, 64%)
CMYKcmyk(0%, 70.1%, 24.4%, 35.7%)
CIE-LABlab(40.49, 54.15, -16.75)
CIE-LCHlch(40.49, 56.69, 342.81°)
OKLaboklab(50.93% 0.1635 -0.0446)
OKLCHoklch(50.93% 0.169 344.8)
XYZxyz(20.0470, 11.5464, 20.2378)
Luminance0.1154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4317C #31A459
analogous
#9331A4 #A4317C #A43142
triadic
#A4317C #7CA431 #317CA4
tetradic
#A4317C #A49331 #31A459 #3142A4
square
#A4317C #A49331 #31A459 #3142A4
split-complementary
#A4317C #42A431 #31A493
monochromatic
#461535 #752358 #A4317C #C9499C #D779B6

Accessibility & contrast

On white

6.35
#A4317C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A4317C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4317C
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4317C#FFFFFF#000000##FFFFFF
##A4317C1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E537E
Deuteranopia (green-blind)
#606679
Tritanopia (blue-blind)
#AF3052
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a4317c;
/* rgb */ color: rgb(164, 49, 124);
/* oklch */ color: oklch(50.9% 0.169 344.8);
Tailwind
colors: {
  custom: {
    50: '#c373a2',
    500: '#a4317c',
    950: '#000000',
  },
}
SCSS
$custom: #a4317c;
$custom-light: #c373a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a4317c",
  "rgb": {
    "r": 164,
    "g": 49,
    "b": 124
  },
  "hsl": {
    "h": 320.87,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50932,
    "c": 0.16942,
    "h": 344.8
  },
  "luminance": 0.11544
}

Semantic roles & 50–950 ramp

primary
#A4317C
secondary
#72BF8D
accent
#DD7E4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #A4317C

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

Preview Lab → · Contrast checker → · Palette generator →

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