#A9218E#A9218E

#A9218E is a mid, highly saturated pink. Relative luminance 0.115; OKLCH L 51.3% C 0.202 H 337.9°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A9218E
RGBrgb(169, 33, 142)
HSLhsl(312, 67%, 40%)
HSVhsv(312, 80%, 66%)
CMYKcmyk(0%, 80.5%, 16%, 33.7%)
CIE-LABlab(40.37, 63.02, -27.91)
CIE-LCHlch(40.37, 68.92, 336.11°)
OKLaboklab(51.28% 0.1867 -0.0759)
OKLCHoklch(51.28% 0.202 337.9)
XYZxyz(21.7890, 11.4779, 26.6539)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9218E #21A93C
analogous
#8021A9 #A9218E #A9214A
triadic
#A9218E #8EA921 #218EA9
tetradic
#A9218E #A98021 #21A93C #214AA9
square
#A9218E #A98021 #21A93C #214AA9
split-complementary
#A9218E #4AA921 #21A980
monochromatic
#430D38 #761763 #A9218E #D731B6 #E164C8

Accessibility & contrast

On white

6.37
#A9218E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A9218E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A9218E
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9218E#FFFFFF#000000##FFFFFF
##A9218E1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285291
Deuteranopia (green-blind)
#58668B
Tritanopia (blue-blind)
#B32A57
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a9218e;
/* rgb */ color: rgb(169, 33, 142);
/* oklch */ color: oklch(51.3% 0.202 337.9);
Tailwind
colors: {
  custom: {
    50: '#c76daf',
    500: '#a9218e',
    950: '#000000',
  },
}
SCSS
$custom: #a9218e;
$custom-light: #c76daf;
$custom-dark: #000000;
JSON
{
  "hex": "#a9218e",
  "rgb": {
    "r": 169,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 311.912,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51282,
    "c": 0.20154,
    "h": 337.9
  },
  "luminance": 0.11476
}

Semantic roles & 50–950 ramp

primary
#A9218E
secondary
#60C674
accent
#EA603E
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #A9218E

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

Preview Lab → · Contrast checker → · Palette generator →

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