#A4218D#A4218D

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

Color values

HEX#A4218D
RGBrgb(164, 33, 141)
HSLhsl(311, 66%, 39%)
HSVhsv(311, 80%, 64%)
CMYKcmyk(0%, 79.9%, 14%, 35.7%)
CIE-LABlab(39.42, 61.76, -28.86)
CIE-LCHlch(39.42, 68.17, 334.95°)
OKLaboklab(50.41% 0.1819 -0.0787)
OKLCHoklch(50.41% 0.198 336.6)
XYZxyz(20.6618, 10.9053, 26.2109)
Luminance0.1090 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4218D #21A438
analogous
#7921A4 #A4218D #A4214C
triadic
#A4218D #8DA421 #218DA4
tetradic
#A4218D #A47921 #21A438 #214CA4
square
#A4218D #A47921 #21A438 #214CA4
split-complementary
#A4218D #4CA421 #21A479
monochromatic
#3E0C35 #711761 #A4218D #D52DB7 #DF60C9

Accessibility & contrast

On white

6.60
#A4218D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A4218D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4218D
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4218D#FFFFFF#000000##FFFFFF
##A4218D1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245090
Deuteranopia (green-blind)
#54648A
Tritanopia (blue-blind)
#AD2B56
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a4218d;
/* rgb */ color: rgb(164, 33, 141);
/* oklch */ color: oklch(50.4% 0.198 336.6);
Tailwind
colors: {
  custom: {
    50: '#c36dae',
    500: '#a4218d',
    950: '#000000',
  },
}
SCSS
$custom: #a4218d;
$custom-light: #c36dae;
$custom-dark: #000000;
JSON
{
  "hex": "#a4218d",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 310.534,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50414,
    "c": 0.19815,
    "h": 336.6
  },
  "luminance": 0.10903
}

Semantic roles & 50–950 ramp

primary
#A4218D
secondary
#5DC46F
accent
#E95C3E
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A4218D

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

Preview Lab → · Contrast checker → · Palette generator →

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