#A4218E#A4218E

#A4218E is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.5% C 0.199 H 336.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A4218E
RGBrgb(164, 33, 142)
HSLhsl(310, 66%, 39%)
HSVhsv(310, 80%, 64%)
CMYKcmyk(0%, 79.9%, 13.4%, 35.7%)
CIE-LABlab(39.47, 61.90, -29.39)
CIE-LCHlch(39.47, 68.53, 334.60°)
OKLaboklab(50.47% 0.1819 -0.0802)
OKLCHoklch(50.47% 0.199 336.2)
XYZxyz(20.7366, 10.9352, 26.6045)
Luminance0.1093 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4218E #21A437
analogous
#7821A4 #A4218E #A4214C
triadic
#A4218E #8EA421 #218EA4
tetradic
#A4218E #A47821 #21A437 #214CA4
square
#A4218E #A47821 #21A437 #214CA4
split-complementary
#A4218E #4CA421 #21A478
monochromatic
#3E0C36 #711762 #A4218E #D52DB9 #DF60CA

Accessibility & contrast

On white

6.59
#A4218E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A4218E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4218E
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4218E#FFFFFF#000000##FFFFFF
##A4218E1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235191
Deuteranopia (green-blind)
#54648B
Tritanopia (blue-blind)
#AD2C57
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a4218e;
/* rgb */ color: rgb(164, 33, 142);
/* oklch */ color: oklch(50.5% 0.199 336.2);
Tailwind
colors: {
  custom: {
    50: '#c36daf',
    500: '#a4218e',
    950: '#000000',
  },
}
SCSS
$custom: #a4218e;
$custom-light: #c36daf;
$custom-dark: #000000;
JSON
{
  "hex": "#a4218e",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 310.076,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50466,
    "c": 0.19884,
    "h": 336.2
  },
  "luminance": 0.10933
}

Semantic roles & 50–950 ramp

primary
#A4218E
secondary
#5DC46E
accent
#E95B3E
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A4218E

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

Preview Lab → · Contrast checker → · Palette generator →

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