#A4317E#A4317E

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

Color values

HEX#A4317E
RGBrgb(164, 49, 126)
HSLhsl(320, 54%, 42%)
HSVhsv(320, 70%, 64%)
CMYKcmyk(0%, 70.1%, 23.2%, 35.7%)
CIE-LABlab(40.57, 54.43, -17.86)
CIE-LCHlch(40.57, 57.28, 341.84°)
OKLaboklab(51.02% 0.1639 -0.0476)
OKLCHoklch(51.02% 0.171 343.8)
XYZxyz(20.1748, 11.5975, 20.9107)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4317E #31A457
analogous
#9131A4 #A4317E #A43145
triadic
#A4317E #7EA431 #317EA4
tetradic
#A4317E #A49131 #31A457 #3145A4
square
#A4317E #A49131 #31A457 #3145A4
split-complementary
#A4317E #45A431 #31A491
monochromatic
#461536 #75235A #A4317E #C9499F #D779B8

Accessibility & contrast

On white

6.33
#A4317E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A4317E
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4317E#FFFFFF#000000##FFFFFF
##A4317E1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5380
Deuteranopia (green-blind)
#5F677B
Tritanopia (blue-blind)
#AF3153
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a4317e;
/* rgb */ color: rgb(164, 49, 126);
/* oklch */ color: oklch(51.0% 0.171 343.8);
Tailwind
colors: {
  custom: {
    50: '#c373a3',
    500: '#a4317e',
    950: '#000000',
  },
}
SCSS
$custom: #a4317e;
$custom-light: #c373a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a4317e",
  "rgb": {
    "r": 164,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 319.826,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5102,
    "c": 0.17068,
    "h": 343.8
  },
  "luminance": 0.11595
}

Semantic roles & 50–950 ramp

primary
#A4317E
secondary
#72BF8B
accent
#DD7B4A
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A4317E

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

Preview Lab → · Contrast checker → · Palette generator →

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