#A9218B#A9218B

#A9218B is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.1% C 0.200 H 339.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A9218B
RGBrgb(169, 33, 139)
HSLhsl(313, 67%, 40%)
HSVhsv(313, 80%, 66%)
CMYKcmyk(0%, 80.5%, 17.8%, 33.7%)
CIE-LABlab(40.23, 62.60, -26.31)
CIE-LCHlch(40.23, 67.91, 337.21°)
OKLaboklab(51.13% 0.1864 -0.0713)
OKLCHoklch(51.13% 0.2 339.1)
XYZxyz(21.5668, 11.3890, 25.4836)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9218B #21A93F
analogous
#8321A9 #A9218B #A92147
triadic
#A9218B #8BA921 #218BA9
tetradic
#A9218B #A98321 #21A93F #2147A9
square
#A9218B #A98321 #21A93F #2147A9
split-complementary
#A9218B #47A921 #21A983
monochromatic
#430D37 #761761 #A9218B #D731B2 #E164C5

Accessibility & contrast

On white

6.41
#A9218B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A9218B
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9218B#FFFFFF#000000##FFFFFF
##A9218B1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A518E
Deuteranopia (green-blind)
#596688
Tritanopia (blue-blind)
#B32855
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a9218b;
/* rgb */ color: rgb(169, 33, 139);
/* oklch */ color: oklch(51.1% 0.200 339.1);
Tailwind
colors: {
  custom: {
    50: '#c76dad',
    500: '#a9218b',
    950: '#000000',
  },
}
SCSS
$custom: #a9218b;
$custom-light: #c76dad;
$custom-dark: #000000;
JSON
{
  "hex": "#a9218b",
  "rgb": {
    "r": 169,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 313.235,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.5113,
    "c": 0.19958,
    "h": 339.1
  },
  "luminance": 0.11387
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A9218B

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

Preview Lab → · Contrast checker → · Palette generator →

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