#A1217D#A1217D

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

Color values

HEX#A1217D
RGBrgb(161, 33, 125)
HSLhsl(317, 66%, 38%)
HSVhsv(317, 80%, 63%)
CMYKcmyk(0%, 79.5%, 22.4%, 36.9%)
CIE-LABlab(38.11, 58.85, -21.08)
CIE-LCHlch(38.11, 62.51, 340.29°)
OKLaboklab(49.12% 0.1772 -0.0566)
OKLCHoklch(49.12% 0.186 342.3)
XYZxyz(18.9442, 10.1475, 20.3591)
Luminance0.1014 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1217D #21A145
analogous
#8521A1 #A1217D #A1213D
triadic
#A1217D #7DA121 #217DA1
tetradic
#A1217D #A18521 #21A145 #213DA1
square
#A1217D #A18521 #21A145 #213DA1
split-complementary
#A1217D #3DA121 #21A185
monochromatic
#3B0C2E #6E1756 #A1217D #D42CA4 #DE5EBA

Accessibility & contrast

On white

6.93
#A1217D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#A1217D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1217D
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1217D#FFFFFF#000000##FFFFFF
##A1217D1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7F
Deuteranopia (green-blind)
#58617A
Tritanopia (blue-blind)
#AB234D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a1217d;
/* rgb */ color: rgb(161, 33, 125);
/* oklch */ color: oklch(49.1% 0.186 342.3);
Tailwind
colors: {
  custom: {
    50: '#c16ca3',
    500: '#a1217d',
    950: '#000000',
  },
}
SCSS
$custom: #a1217d;
$custom-light: #c16ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#a1217d",
  "rgb": {
    "r": 161,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 316.875,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49116,
    "c": 0.18602,
    "h": 342.3
  },
  "luminance": 0.10145
}

Semantic roles & 50–950 ramp

primary
#A1217D
secondary
#5BC378
accent
#E96F3F
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A1217D

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

Preview Lab → · Contrast checker → · Palette generator →

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