#A1217C#A1217C

#A1217C is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.1% C 0.185 H 342.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#A1217C
RGBrgb(161, 33, 124)
HSLhsl(317, 66%, 38%)
HSVhsv(317, 80%, 63%)
CMYKcmyk(0%, 79.5%, 23%, 36.9%)
CIE-LABlab(38.06, 58.72, -20.53)
CIE-LCHlch(38.06, 62.21, 340.73°)
OKLaboklab(49.07% 0.177 -0.0551)
OKLCHoklch(49.07% 0.185 342.7)
XYZxyz(18.8806, 10.1220, 20.0243)
Luminance0.1012 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1217C #21A146
analogous
#8621A1 #A1217C #A1213C
triadic
#A1217C #7CA121 #217CA1
tetradic
#A1217C #A18621 #21A146 #213CA1
square
#A1217C #A18621 #21A146 #213CA1
split-complementary
#A1217C #3CA121 #21A186
monochromatic
#3B0C2E #6E1755 #A1217C #D42CA3 #DE5EB9

Accessibility & contrast

On white

6.94
#A1217C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#A1217C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1217C
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1217C#FFFFFF#000000##FFFFFF
##A1217C1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7E
Deuteranopia (green-blind)
#586179
Tritanopia (blue-blind)
#AC224D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a1217c;
/* rgb */ color: rgb(161, 33, 124);
/* oklch */ color: oklch(49.1% 0.185 342.7);
Tailwind
colors: {
  custom: {
    50: '#c16ca2',
    500: '#a1217c',
    950: '#000000',
  },
}
SCSS
$custom: #a1217c;
$custom-light: #c16ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#a1217c",
  "rgb": {
    "r": 161,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 317.344,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49069,
    "c": 0.18539,
    "h": 342.7
  },
  "luminance": 0.1012
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A1217C

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

Preview Lab → · Contrast checker → · Palette generator →

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