#A1217A#A1217A

#A1217A is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.0% C 0.184 H 343.6°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#A1217A
RGBrgb(161, 33, 122)
HSLhsl(318, 66%, 38%)
HSVhsv(318, 80%, 63%)
CMYKcmyk(0%, 79.5%, 24.2%, 36.9%)
CIE-LABlab(37.97, 58.46, -19.42)
CIE-LCHlch(37.97, 61.60, 341.62°)
OKLaboklab(48.98% 0.1767 -0.0519)
OKLCHoklch(48.98% 0.184 343.6)
XYZxyz(18.7554, 10.0720, 19.3649)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1217A #21A148
analogous
#8821A1 #A1217A #A1213A
triadic
#A1217A #7AA121 #217AA1
tetradic
#A1217A #A18821 #21A148 #213AA1
square
#A1217A #A18821 #21A148 #213AA1
split-complementary
#A1217A #3AA121 #21A188
monochromatic
#3B0C2D #6E1754 #A1217A #D42CA0 #DE5EB7

Accessibility & contrast

On white

6.97
#A1217A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#A1217A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1217A
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1217A#FFFFFF#000000##FFFFFF
##A1217A1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7C
Deuteranopia (green-blind)
#596177
Tritanopia (blue-blind)
#AC214C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a1217a;
/* rgb */ color: rgb(161, 33, 122);
/* oklch */ color: oklch(49.0% 0.184 343.6);
Tailwind
colors: {
  custom: {
    50: '#c16ba0',
    500: '#a1217a',
    950: '#000000',
  },
}
SCSS
$custom: #a1217a;
$custom-light: #c16ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#a1217a",
  "rgb": {
    "r": 161,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 318.281,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48975,
    "c": 0.18418,
    "h": 343.6
  },
  "luminance": 0.1007
}

Semantic roles & 50–950 ramp

primary
#A1217A
secondary
#5BC37B
accent
#E9733F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #A1217A

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

Preview Lab → · Contrast checker → · Palette generator →

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