#A2218A#A2218A

#A2218A is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.9% C 0.195 H 337.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#A2218A
RGBrgb(162, 33, 138)
HSLhsl(311, 66%, 38%)
HSVhsv(311, 80%, 64%)
CMYKcmyk(0%, 79.6%, 14.8%, 36.5%)
CIE-LABlab(38.91, 60.88, -27.85)
CIE-LCHlch(38.91, 66.95, 335.42°)
OKLaboklab(49.93% 0.1797 -0.0758)
OKLCHoklch(49.93% 0.195 337.1)
XYZxyz(20.0320, 10.6060, 25.0320)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2218A #21A239
analogous
#7921A2 #A2218A #A22149
triadic
#A2218A #8AA221 #218AA2
tetradic
#A2218A #A27921 #21A239 #2149A2
square
#A2218A #A27921 #21A239 #2149A2
split-complementary
#A2218A #49A221 #21A279
monochromatic
#3C0C33 #6F175F #A2218A #D42CB5 #DE5FC7

Accessibility & contrast

On white

6.73
#A2218A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A2218A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2218A
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2218A#FFFFFF#000000##FFFFFF
##A2218A1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8D
Deuteranopia (green-blind)
#546387
Tritanopia (blue-blind)
#AB2A54
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a2218a;
/* rgb */ color: rgb(162, 33, 138);
/* oklch */ color: oklch(49.9% 0.195 337.1);
Tailwind
colors: {
  custom: {
    50: '#c16cac',
    500: '#a2218a',
    950: '#000000',
  },
}
SCSS
$custom: #a2218a;
$custom-light: #c16cac;
$custom-dark: #000000;
JSON
{
  "hex": "#a2218a",
  "rgb": {
    "r": 162,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 311.163,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4993,
    "c": 0.19503,
    "h": 337.1
  },
  "luminance": 0.10604
}

Semantic roles & 50–950 ramp

primary
#A2218A
secondary
#5CC36F
accent
#E95E3F
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A2218A

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

Preview Lab → · Contrast checker → · Palette generator →

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