#A1297D#A1297D

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

Color values

HEX#A1297D
RGBrgb(161, 41, 125)
HSLhsl(318, 59%, 40%)
HSVhsv(318, 75%, 63%)
CMYKcmyk(0%, 74.5%, 22.4%, 36.9%)
CIE-LABlab(38.98, 56.37, -19.73)
CIE-LCHlch(38.98, 59.73, 340.71°)
OKLaboklab(49.75% 0.1696 -0.0529)
OKLCHoklch(49.75% 0.178 342.7)
XYZxyz(19.1932, 10.6456, 20.4421)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1297D #29A14D
analogous
#8929A1 #A1297D #A12941
triadic
#A1297D #7DA129 #297DA1
tetradic
#A1297D #A18929 #29A14D #2941A1
square
#A1297D #A18929 #29A14D #2941A1
split-complementary
#A1297D #41A129 #29A189
monochromatic
#3F1031 #701D57 #A1297D #CD3AA1 #D96BB8

Accessibility & contrast

On white

6.71
#A1297D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A1297D
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1297D#FFFFFF#000000##FFFFFF
##A1297D1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F7F
Deuteranopia (green-blind)
#5A637A
Tritanopia (blue-blind)
#AB2A50
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a1297d;
/* rgb */ color: rgb(161, 41, 125);
/* oklch */ color: oklch(49.7% 0.178 342.7);
Tailwind
colors: {
  custom: {
    50: '#c16fa2',
    500: '#a1297d',
    950: '#000000',
  },
}
SCSS
$custom: #a1297d;
$custom-light: #c16fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#a1297d",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 125
  },
  "hsl": {
    "h": 318,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49747,
    "c": 0.17763,
    "h": 342.7
  },
  "luminance": 0.10644
}

Semantic roles & 50–950 ramp

primary
#A1297D
secondary
#66C081
accent
#E37445
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A1297D

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

Preview Lab → · Contrast checker → · Palette generator →

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