#A1217F#A1217F

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

Color values

HEX#A1217F
RGBrgb(161, 33, 127)
HSLhsl(316, 66%, 38%)
HSVhsv(316, 80%, 63%)
CMYKcmyk(0%, 79.5%, 21.1%, 36.9%)
CIE-LABlab(38.20, 59.12, -22.18)
CIE-LCHlch(38.20, 63.14, 339.43°)
OKLaboklab(49.21% 0.1775 -0.0597)
OKLCHoklch(49.21% 0.187 341.4)
XYZxyz(19.0732, 10.1991, 21.0387)
Luminance0.1020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1217F #21A143
analogous
#8321A1 #A1217F #A1213F
triadic
#A1217F #7FA121 #217FA1
tetradic
#A1217F #A18321 #21A143 #213FA1
square
#A1217F #A18321 #21A143 #213FA1
split-complementary
#A1217F #3FA121 #21A183
monochromatic
#3B0C2F #6E1757 #A1217F #D42CA7 #DE5EBC

Accessibility & contrast

On white

6.91
#A1217F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#A1217F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1217F
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1217F#FFFFFF#000000##FFFFFF
##A1217F1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D81
Deuteranopia (green-blind)
#57617C
Tritanopia (blue-blind)
#AB244E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a1217f;
/* rgb */ color: rgb(161, 33, 127);
/* oklch */ color: oklch(49.2% 0.187 341.4);
Tailwind
colors: {
  custom: {
    50: '#c16ca4',
    500: '#a1217f',
    950: '#000000',
  },
}
SCSS
$custom: #a1217f;
$custom-light: #c16ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#a1217f",
  "rgb": {
    "r": 161,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 315.938,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49212,
    "c": 0.18726,
    "h": 341.4
  },
  "luminance": 0.10197
}

Semantic roles & 50–950 ramp

primary
#A1217F
secondary
#5BC377
accent
#E96C3F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A1217F

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

Preview Lab → · Contrast checker → · Palette generator →

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