#A4318D#A4318D

#A4318D is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.181 H 337.0°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A4318D
RGBrgb(164, 49, 141)
HSLhsl(312, 54%, 42%)
HSVhsv(312, 70%, 64%)
CMYKcmyk(0%, 70.1%, 14%, 35.7%)
CIE-LABlab(41.24, 56.59, -26.02)
CIE-LCHlch(41.24, 62.28, 335.31°)
OKLaboklab(51.73% 0.1664 -0.0707)
OKLCHoklch(51.73% 0.181 337)
XYZxyz(21.2162, 12.0141, 26.3957)
Luminance0.1201 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4318D #31A448
analogous
#8231A4 #A4318D #A43154
triadic
#A4318D #8DA431 #318DA4
tetradic
#A4318D #A48231 #31A448 #3154A4
square
#A4318D #A48231 #31A448 #3154A4
split-complementary
#A4318D #54A431 #31A482
monochromatic
#46153C #752364 #A4318D #C949AF #D779C4

Accessibility & contrast

On white

6.17
#A4318D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A4318D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4318D
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4318D#FFFFFF#000000##FFFFFF
##A4318D1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345690
Deuteranopia (green-blind)
#5A688A
Tritanopia (blue-blind)
#AD375B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a4318d;
/* rgb */ color: rgb(164, 49, 141);
/* oklch */ color: oklch(51.7% 0.181 337.0);
Tailwind
colors: {
  custom: {
    50: '#c273ae',
    500: '#a4318d',
    950: '#000000',
  },
}
SCSS
$custom: #a4318d;
$custom-light: #c273ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a4318d",
  "rgb": {
    "r": 164,
    "g": 49,
    "b": 141
  },
  "hsl": {
    "h": 312,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51726,
    "c": 0.18081,
    "h": 337
  },
  "luminance": 0.12012
}

Semantic roles & 50–950 ramp

primary
#A4318D
secondary
#72BF81
accent
#DD684A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A4318D

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

Preview Lab → · Contrast checker → · Palette generator →

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