#A9218D#A9218D

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

Color values

HEX#A9218D
RGBrgb(169, 33, 141)
HSLhsl(312, 67%, 40%)
HSVhsv(312, 80%, 66%)
CMYKcmyk(0%, 80.5%, 16.6%, 33.7%)
CIE-LABlab(40.33, 62.88, -27.38)
CIE-LCHlch(40.33, 68.58, 336.47°)
OKLaboklab(51.23% 0.1866 -0.0744)
OKLCHoklch(51.23% 0.201 338.3)
XYZxyz(21.7143, 11.4480, 26.2602)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9218D #21A93D
analogous
#8121A9 #A9218D #A92149
triadic
#A9218D #8DA921 #218DA9
tetradic
#A9218D #A98121 #21A93D #2149A9
square
#A9218D #A98121 #21A93D #2149A9
split-complementary
#A9218D #49A921 #21A981
monochromatic
#430D38 #761762 #A9218D #D731B4 #E164C7

Accessibility & contrast

On white

6.38
#A9218D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A9218D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A9218D
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9218D#FFFFFF#000000##FFFFFF
##A9218D1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295290
Deuteranopia (green-blind)
#58668A
Tritanopia (blue-blind)
#B32956
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a9218d;
/* rgb */ color: rgb(169, 33, 141);
/* oklch */ color: oklch(51.2% 0.201 338.3);
Tailwind
colors: {
  custom: {
    50: '#c76dae',
    500: '#a9218d',
    950: '#000000',
  },
}
SCSS
$custom: #a9218d;
$custom-light: #c76dae;
$custom-dark: #000000;
JSON
{
  "hex": "#a9218d",
  "rgb": {
    "r": 169,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 312.353,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51231,
    "c": 0.20088,
    "h": 338.3
  },
  "luminance": 0.11446
}

Semantic roles & 50–950 ramp

primary
#A9218D
secondary
#60C675
accent
#EA613E
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #A9218D

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

Preview Lab → · Contrast checker → · Palette generator →

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