#A4218A#A4218A

#A4218A is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.3% C 0.196 H 337.8°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A4218A
RGBrgb(164, 33, 138)
HSLhsl(312, 66%, 39%)
HSVhsv(312, 80%, 64%)
CMYKcmyk(0%, 79.9%, 15.9%, 35.7%)
CIE-LABlab(39.27, 61.33, -27.26)
CIE-LCHlch(39.27, 67.12, 336.04°)
OKLaboklab(50.26% 0.1816 -0.0741)
OKLCHoklch(50.26% 0.196 337.8)
XYZxyz(20.4416, 10.8172, 25.0512)
Luminance0.1081 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4218A #21A43B
analogous
#7C21A4 #A4218A #A42149
triadic
#A4218A #8AA421 #218AA4
tetradic
#A4218A #A47C21 #21A43B #2149A4
square
#A4218A #A47C21 #21A43B #2149A4
split-complementary
#A4218A #49A421 #21A47C
monochromatic
#3E0C34 #71175F #A4218A #D52DB4 #DF60C6

Accessibility & contrast

On white

6.64
#A4218A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A4218A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4218A
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4218A#FFFFFF#000000##FFFFFF
##A4218A1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508D
Deuteranopia (green-blind)
#556487
Tritanopia (blue-blind)
#AD2954
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a4218a;
/* rgb */ color: rgb(164, 33, 138);
/* oklch */ color: oklch(50.3% 0.196 337.8);
Tailwind
colors: {
  custom: {
    50: '#c36dac',
    500: '#a4218a',
    950: '#000000',
  },
}
SCSS
$custom: #a4218a;
$custom-light: #c36dac;
$custom-dark: #000000;
JSON
{
  "hex": "#a4218a",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 311.908,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50258,
    "c": 0.19614,
    "h": 337.8
  },
  "luminance": 0.10815
}

Semantic roles & 50–950 ramp

primary
#A4218A
secondary
#5DC471
accent
#E9603E
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A4218A

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

Preview Lab → · Contrast checker → · Palette generator →

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