#A1297B#A1297B

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

Color values

HEX#A1297B
RGBrgb(161, 41, 123)
HSLhsl(319, 59%, 40%)
HSVhsv(319, 75%, 63%)
CMYKcmyk(0%, 74.5%, 23.6%, 36.9%)
CIE-LABlab(38.89, 56.10, -18.63)
CIE-LCHlch(38.89, 59.11, 341.63°)
OKLaboklab(49.66% 0.1692 -0.0498)
OKLCHoklch(49.66% 0.176 343.6)
XYZxyz(19.0668, 10.5950, 19.7760)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1297B #29A14F
analogous
#8B29A1 #A1297B #A1293F
triadic
#A1297B #7BA129 #297BA1
tetradic
#A1297B #A18B29 #29A14F #293FA1
square
#A1297B #A18B29 #29A14F #293FA1
split-complementary
#A1297B #3FA129 #29A18B
monochromatic
#3F1030 #701D56 #A1297B #CD3A9E #D96BB6

Accessibility & contrast

On white

6.73
#A1297B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A1297B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1297B
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1297B#FFFFFF#000000##FFFFFF
##A1297B1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364F7D
Deuteranopia (green-blind)
#5B6378
Tritanopia (blue-blind)
#AC294F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a1297b;
/* rgb */ color: rgb(161, 41, 123);
/* oklch */ color: oklch(49.7% 0.176 343.6);
Tailwind
colors: {
  custom: {
    50: '#c16fa1',
    500: '#a1297b',
    950: '#000000',
  },
}
SCSS
$custom: #a1297b;
$custom-light: #c16fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#a1297b",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 123
  },
  "hsl": {
    "h": 319,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49655,
    "c": 0.17638,
    "h": 343.6
  },
  "luminance": 0.10593
}

Semantic roles & 50–950 ramp

primary
#A1297B
secondary
#66C082
accent
#E37745
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A1297B

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

Preview Lab → · Contrast checker → · Palette generator →

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