#A4218C#A4218C

#A4218C is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.4% C 0.197 H 337.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A4218C
RGBrgb(164, 33, 140)
HSLhsl(311, 66%, 39%)
HSVhsv(311, 80%, 64%)
CMYKcmyk(0%, 79.9%, 14.6%, 35.7%)
CIE-LABlab(39.37, 61.61, -28.33)
CIE-LCHlch(39.37, 67.81, 335.31°)
OKLaboklab(50.36% 0.1818 -0.0772)
OKLCHoklch(50.36% 0.197 337)
XYZxyz(20.5877, 10.8757, 25.8208)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4218C #21A439
analogous
#7A21A4 #A4218C #A4214B
triadic
#A4218C #8CA421 #218CA4
tetradic
#A4218C #A47A21 #21A439 #214BA4
square
#A4218C #A47A21 #21A439 #214BA4
split-complementary
#A4218C #4BA421 #21A47A
monochromatic
#3E0C35 #711761 #A4218C #D52DB6 #DF60C8

Accessibility & contrast

On white

6.61
#A4218C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A4218C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4218C
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4218C#FFFFFF#000000##FFFFFF
##A4218C1.006.613.176.61
#FFFFFF6.611.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25508F
Deuteranopia (green-blind)
#546489
Tritanopia (blue-blind)
#AD2B56
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a4218c;
/* rgb */ color: rgb(164, 33, 140);
/* oklch */ color: oklch(50.4% 0.197 337.0);
Tailwind
colors: {
  custom: {
    50: '#c36dae',
    500: '#a4218c',
    950: '#000000',
  },
}
SCSS
$custom: #a4218c;
$custom-light: #c36dae;
$custom-dark: #000000;
JSON
{
  "hex": "#a4218c",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 310.992,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50361,
    "c": 0.19747,
    "h": 337
  },
  "luminance": 0.10874
}

Semantic roles & 50–950 ramp

primary
#A4218C
secondary
#5DC470
accent
#E95E3E
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A4218C

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

Preview Lab → · Contrast checker → · Palette generator →

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