#A1297A#A1297A

#A1297A is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.176 H 344.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A1297A
RGBrgb(161, 41, 122)
HSLhsl(320, 59%, 40%)
HSVhsv(320, 75%, 63%)
CMYKcmyk(0%, 74.5%, 24.2%, 36.9%)
CIE-LABlab(38.85, 55.97, -18.07)
CIE-LCHlch(38.85, 58.81, 342.11°)
OKLaboklab(49.61% 0.169 -0.0482)
OKLCHoklch(49.61% 0.176 344.1)
XYZxyz(19.0045, 10.5701, 19.4480)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1297A #29A150
analogous
#8C29A1 #A1297A #A1293E
triadic
#A1297A #7AA129 #297AA1
tetradic
#A1297A #A18C29 #29A150 #293EA1
square
#A1297A #A18C29 #29A150 #293EA1
split-complementary
#A1297A #3EA129 #29A18C
monochromatic
#3F1030 #701D55 #A1297A #CD3A9D #D96BB5

Accessibility & contrast

On white

6.74
#A1297A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A1297A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1297A
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1297A#FFFFFF#000000##FFFFFF
##A1297A1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7C
Deuteranopia (green-blind)
#5B6377
Tritanopia (blue-blind)
#AC284E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a1297a;
/* rgb */ color: rgb(161, 41, 122);
/* oklch */ color: oklch(49.6% 0.176 344.1);
Tailwind
colors: {
  custom: {
    50: '#c16fa0',
    500: '#a1297a',
    950: '#000000',
  },
}
SCSS
$custom: #a1297a;
$custom-light: #c16fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#a1297a",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 122
  },
  "hsl": {
    "h": 319.5,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4961,
    "c": 0.17576,
    "h": 344.1
  },
  "luminance": 0.10568
}

Semantic roles & 50–950 ramp

primary
#A1297A
secondary
#66C083
accent
#E37845
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A1297A

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

Preview Lab → · Contrast checker → · Palette generator →

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