#A1297E#A1297E

#A1297E is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.178 H 342.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A1297E
RGBrgb(161, 41, 126)
HSLhsl(318, 59%, 40%)
HSVhsv(318, 75%, 63%)
CMYKcmyk(0%, 74.5%, 21.7%, 36.9%)
CIE-LABlab(39.02, 56.51, -20.28)
CIE-LCHlch(39.02, 60.04, 340.25°)
OKLaboklab(49.79% 0.1698 -0.0544)
OKLCHoklch(49.79% 0.178 342.2)
XYZxyz(19.2574, 10.6713, 20.7802)
Luminance0.1067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1297E #29A14C
analogous
#8829A1 #A1297E #A12942
triadic
#A1297E #7EA129 #297EA1
tetradic
#A1297E #A18829 #29A14C #2942A1
square
#A1297E #A18829 #29A14C #2942A1
split-complementary
#A1297E #42A129 #29A188
monochromatic
#3F1032 #701D58 #A1297E #CD3AA2 #D96BB9

Accessibility & contrast

On white

6.70
#A1297E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A1297E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1297E
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1297E#FFFFFF#000000##FFFFFF
##A1297E1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F80
Deuteranopia (green-blind)
#5A637B
Tritanopia (blue-blind)
#AB2A50
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a1297e;
/* rgb */ color: rgb(161, 41, 126);
/* oklch */ color: oklch(49.8% 0.178 342.2);
Tailwind
colors: {
  custom: {
    50: '#c16fa3',
    500: '#a1297e',
    950: '#000000',
  },
}
SCSS
$custom: #a1297e;
$custom-light: #c16fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#a1297e",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 126
  },
  "hsl": {
    "h": 317.5,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49794,
    "c": 0.17826,
    "h": 342.2
  },
  "luminance": 0.10669
}

Semantic roles & 50–950 ramp

primary
#A1297E
secondary
#66C080
accent
#E37345
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A1297E

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

Preview Lab → · Contrast checker → · Palette generator →

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