#A1217B#A1217B

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

Color values

HEX#A1217B
RGBrgb(161, 33, 123)
HSLhsl(318, 66%, 38%)
HSVhsv(318, 80%, 63%)
CMYKcmyk(0%, 79.5%, 23.6%, 36.9%)
CIE-LABlab(38.02, 58.59, -19.97)
CIE-LCHlch(38.02, 61.90, 341.18°)
OKLaboklab(49.02% 0.1769 -0.0535)
OKLCHoklch(49.02% 0.185 343.2)
XYZxyz(18.8177, 10.0969, 19.6929)
Luminance0.1009 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1217B #21A147
analogous
#8721A1 #A1217B #A1213B
triadic
#A1217B #7BA121 #217BA1
tetradic
#A1217B #A18721 #21A147 #213BA1
square
#A1217B #A18721 #21A147 #213BA1
split-complementary
#A1217B #3BA121 #21A187
monochromatic
#3B0C2D #6E1754 #A1217B #D42CA2 #DE5EB8

Accessibility & contrast

On white

6.96
#A1217B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A1217B
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1217B#FFFFFF#000000##FFFFFF
##A1217B1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7D
Deuteranopia (green-blind)
#596178
Tritanopia (blue-blind)
#AC214C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a1217b;
/* rgb */ color: rgb(161, 33, 123);
/* oklch */ color: oklch(49.0% 0.185 343.2);
Tailwind
colors: {
  custom: {
    50: '#c16ba1',
    500: '#a1217b',
    950: '#000000',
  },
}
SCSS
$custom: #a1217b;
$custom-light: #c16ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#a1217b",
  "rgb": {
    "r": 161,
    "g": 33,
    "b": 123
  },
  "hsl": {
    "h": 317.813,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49022,
    "c": 0.18478,
    "h": 343.2
  },
  "luminance": 0.10095
}

Semantic roles & 50–950 ramp

primary
#A1217B
secondary
#5BC37A
accent
#E9713F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080F
muted
#827A7E

Preview Lab

Preview with #A1217B

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

Preview Lab → · Contrast checker → · Palette generator →

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