#A2217D#A2217D

#A2217D is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.3% C 0.187 H 342.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#A2217D
RGBrgb(162, 33, 125)
HSLhsl(317, 66%, 38%)
HSVhsv(317, 80%, 64%)
CMYKcmyk(0%, 79.6%, 22.8%, 36.5%)
CIE-LABlab(38.29, 59.09, -20.78)
CIE-LCHlch(38.29, 62.64, 340.63°)
OKLaboklab(49.28% 0.1781 -0.0557)
OKLCHoklch(49.28% 0.187 342.6)
XYZxyz(19.1465, 10.2518, 20.3685)
Luminance0.1025 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2217D #21A246
analogous
#8621A2 #A2217D #A2213D
triadic
#A2217D #7DA221 #217DA2
tetradic
#A2217D #A28621 #21A246 #213DA2
square
#A2217D #A28621 #21A246 #213DA2
split-complementary
#A2217D #3DA221 #21A286
monochromatic
#3C0C2F #6F1756 #A2217D #D42CA4 #DE5FBA

Accessibility & contrast

On white

6.89
#A2217D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A2217D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2217D
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2217D#FFFFFF#000000##FFFFFF
##A2217D1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D7F
Deuteranopia (green-blind)
#59627A
Tritanopia (blue-blind)
#AD224D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a2217d;
/* rgb */ color: rgb(162, 33, 125);
/* oklch */ color: oklch(49.3% 0.187 342.6);
Tailwind
colors: {
  custom: {
    50: '#c26ca3',
    500: '#a2217d',
    950: '#000000',
  },
}
SCSS
$custom: #a2217d;
$custom-light: #c26ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#a2217d",
  "rgb": {
    "r": 162,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 317.209,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49284,
    "c": 0.18663,
    "h": 342.6
  },
  "luminance": 0.1025
}

Semantic roles & 50–950 ramp

primary
#A2217D
secondary
#5CC379
accent
#E9703F
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A2217D

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

Preview Lab → · Contrast checker → · Palette generator →

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