#A9218C#A9218C

#A9218C is a mid, highly saturated pink. Relative luminance 0.114; OKLCH L 51.2% C 0.200 H 338.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A9218C
RGBrgb(169, 33, 140)
HSLhsl(313, 67%, 40%)
HSVhsv(313, 80%, 66%)
CMYKcmyk(0%, 80.5%, 17.2%, 33.7%)
CIE-LABlab(40.28, 62.74, -26.84)
CIE-LCHlch(40.28, 68.24, 336.84°)
OKLaboklab(51.18% 0.1865 -0.0728)
OKLCHoklch(51.18% 0.2 338.7)
XYZxyz(21.6402, 11.4183, 25.8701)
Luminance0.1142 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9218C #21A93E
analogous
#8221A9 #A9218C #A92148
triadic
#A9218C #8CA921 #218CA9
tetradic
#A9218C #A98221 #21A93E #2148A9
square
#A9218C #A98221 #21A93E #2148A9
split-complementary
#A9218C #48A921 #21A982
monochromatic
#430D37 #761762 #A9218C #D731B3 #E164C6

Accessibility & contrast

On white

6.40
#A9218C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A9218C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A9218C
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9218C#FFFFFF#000000##FFFFFF
##A9218C1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A528F
Deuteranopia (green-blind)
#596689
Tritanopia (blue-blind)
#B32956
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a9218c;
/* rgb */ color: rgb(169, 33, 140);
/* oklch */ color: oklch(51.2% 0.200 338.7);
Tailwind
colors: {
  custom: {
    50: '#c76dae',
    500: '#a9218c',
    950: '#000000',
  },
}
SCSS
$custom: #a9218c;
$custom-light: #c76dae;
$custom-dark: #000000;
JSON
{
  "hex": "#a9218c",
  "rgb": {
    "r": 169,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 312.794,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.5118,
    "c": 0.20023,
    "h": 338.7
  },
  "luminance": 0.11416
}

Semantic roles & 50–950 ramp

primary
#A9218C
secondary
#60C676
accent
#EA623E
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #A9218C

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

Preview Lab → · Contrast checker → · Palette generator →

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