#A4318A#A4318A

#A4318A is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.179 H 338.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A4318A
RGBrgb(164, 49, 138)
HSLhsl(314, 54%, 42%)
HSVhsv(314, 70%, 64%)
CMYKcmyk(0%, 70.1%, 15.9%, 35.7%)
CIE-LABlab(41.10, 56.14, -24.41)
CIE-LCHlch(41.10, 61.22, 336.50°)
OKLaboklab(51.58% 0.166 -0.0661)
OKLCHoklch(51.58% 0.179 338.3)
XYZxyz(20.9960, 11.9260, 25.2360)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4318A #31A44B
analogous
#8531A4 #A4318A #A43151
triadic
#A4318A #8AA431 #318AA4
tetradic
#A4318A #A48531 #31A44B #3151A4
square
#A4318A #A48531 #31A44B #3151A4
split-complementary
#A4318A #51A431 #31A485
monochromatic
#46153B #752362 #A4318A #C949AC #D779C2

Accessibility & contrast

On white

6.20
#A4318A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A4318A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4318A
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4318A#FFFFFF#000000##FFFFFF
##A4318A1.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36558D
Deuteranopia (green-blind)
#5B6787
Tritanopia (blue-blind)
#AD3659
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a4318a;
/* rgb */ color: rgb(164, 49, 138);
/* oklch */ color: oklch(51.6% 0.179 338.3);
Tailwind
colors: {
  custom: {
    50: '#c273ac',
    500: '#a4318a',
    950: '#000000',
  },
}
SCSS
$custom: #a4318a;
$custom-light: #c273ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a4318a",
  "rgb": {
    "r": 164,
    "g": 49,
    "b": 138
  },
  "hsl": {
    "h": 313.565,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51578,
    "c": 0.17868,
    "h": 338.3
  },
  "luminance": 0.11924
}

Semantic roles & 50–950 ramp

primary
#A4318A
secondary
#72BF83
accent
#DD6C4A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A4318A

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

Preview Lab → · Contrast checker → · Palette generator →

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