#A4318F#A4318F

#A4318F is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.8% C 0.182 H 336.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A4318F
RGBrgb(164, 49, 143)
HSLhsl(311, 54%, 42%)
HSVhsv(311, 70%, 64%)
CMYKcmyk(0%, 70.1%, 12.8%, 35.7%)
CIE-LABlab(41.33, 56.89, -27.09)
CIE-LCHlch(41.33, 63.01, 334.54°)
OKLaboklab(51.83% 0.1667 -0.0737)
OKLCHoklch(51.83% 0.182 336.1)
XYZxyz(21.3664, 12.0742, 27.1865)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4318F #31A446
analogous
#8031A4 #A4318F #A43155
triadic
#A4318F #8FA431 #318FA4
tetradic
#A4318F #A48031 #31A446 #3155A4
square
#A4318F #A48031 #31A446 #3155A4
split-complementary
#A4318F #55A431 #31A480
monochromatic
#46153D #752366 #A4318F #C949B2 #D779C6

Accessibility & contrast

On white

6.15
#A4318F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A4318F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4318F
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4318F#FFFFFF#000000##FFFFFF
##A4318F1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335692
Deuteranopia (green-blind)
#59688C
Tritanopia (blue-blind)
#AC385C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a4318f;
/* rgb */ color: rgb(164, 49, 143);
/* oklch */ color: oklch(51.8% 0.182 336.1);
Tailwind
colors: {
  custom: {
    50: '#c273b0',
    500: '#a4318f',
    950: '#000000',
  },
}
SCSS
$custom: #a4318f;
$custom-light: #c273b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a4318f",
  "rgb": {
    "r": 164,
    "g": 49,
    "b": 143
  },
  "hsl": {
    "h": 310.957,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51826,
    "c": 0.18226,
    "h": 336.1
  },
  "luminance": 0.12072
}

Semantic roles & 50–950 ramp

primary
#A4318F
secondary
#72BF80
accent
#DD654A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A4318F

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

Preview Lab → · Contrast checker → · Palette generator →

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