#A4317B#A4317B

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

Color values

HEX#A4317B
RGBrgb(164, 49, 123)
HSLhsl(321, 54%, 42%)
HSVhsv(321, 70%, 64%)
CMYKcmyk(0%, 70.1%, 25%, 35.7%)
CIE-LABlab(40.45, 54.02, -16.19)
CIE-LCHlch(40.45, 56.39, 343.31°)
OKLaboklab(50.89% 0.1632 -0.043)
OKLCHoklch(50.89% 0.169 345.2)
XYZxyz(19.9841, 11.5213, 19.9064)
Luminance0.1152 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4317B #31A45A
analogous
#9431A4 #A4317B #A43142
triadic
#A4317B #7BA431 #317BA4
tetradic
#A4317B #A49431 #31A45A #3142A4
square
#A4317B #A49431 #31A45A #3142A4
split-complementary
#A4317B #42A431 #31A494
monochromatic
#461534 #752358 #A4317B #C9499B #D779B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A4317B#FFFFFF#000000##FFFFFF
##A4317B1.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)
#3E537D
Deuteranopia (green-blind)
#606678
Tritanopia (blue-blind)
#AF2F51
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a4317b;
/* rgb */ color: rgb(164, 49, 123);
/* oklch */ color: oklch(50.9% 0.169 345.2);
Tailwind
colors: {
  custom: {
    50: '#c373a1',
    500: '#a4317b',
    950: '#000000',
  },
}
SCSS
$custom: #a4317b;
$custom-light: #c373a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a4317b",
  "rgb": {
    "r": 164,
    "g": 49,
    "b": 123
  },
  "hsl": {
    "h": 321.391,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50888,
    "c": 0.16881,
    "h": 345.2
  },
  "luminance": 0.11519
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A4317B

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

Preview Lab → · Contrast checker → · Palette generator →

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