#A4218B#A4218B

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

Color values

HEX#A4218B
RGBrgb(164, 33, 139)
HSLhsl(311, 66%, 39%)
HSVhsv(311, 80%, 64%)
CMYKcmyk(0%, 79.9%, 15.2%, 35.7%)
CIE-LABlab(39.32, 61.47, -27.79)
CIE-LCHlch(39.32, 67.46, 335.67°)
OKLaboklab(50.31% 0.1817 -0.0756)
OKLCHoklch(50.31% 0.197 337.4)
XYZxyz(20.5143, 10.8463, 25.4342)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4218B #21A43A
analogous
#7B21A4 #A4218B #A4214A
triadic
#A4218B #8BA421 #218BA4
tetradic
#A4218B #A47B21 #21A43A #214AA4
square
#A4218B #A47B21 #21A43A #214AA4
split-complementary
#A4218B #4AA421 #21A47B
monochromatic
#3E0C35 #711760 #A4218B #D52DB5 #DF60C7

Accessibility & contrast

On white

6.63
#A4218B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A4218B
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4218B#FFFFFF#000000##FFFFFF
##A4218B1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508E
Deuteranopia (green-blind)
#556488
Tritanopia (blue-blind)
#AD2A55
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a4218b;
/* rgb */ color: rgb(164, 33, 139);
/* oklch */ color: oklch(50.3% 0.197 337.4);
Tailwind
colors: {
  custom: {
    50: '#c36dad',
    500: '#a4218b',
    950: '#000000',
  },
}
SCSS
$custom: #a4218b;
$custom-light: #c36dad;
$custom-dark: #000000;
JSON
{
  "hex": "#a4218b",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 311.45,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50309,
    "c": 0.19681,
    "h": 337.4
  },
  "luminance": 0.10844
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A4218B

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

Preview Lab → · Contrast checker → · Palette generator →

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