#A1297C#A1297C

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

Color values

HEX#A1297C
RGBrgb(161, 41, 124)
HSLhsl(319, 59%, 40%)
HSVhsv(319, 75%, 63%)
CMYKcmyk(0%, 74.5%, 23%, 36.9%)
CIE-LABlab(38.93, 56.24, -19.18)
CIE-LCHlch(38.93, 59.42, 341.17°)
OKLaboklab(49.7% 0.1694 -0.0513)
OKLCHoklch(49.7% 0.177 343.1)
XYZxyz(19.1297, 10.6202, 20.1073)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1297C #29A14E
analogous
#8A29A1 #A1297C #A12940
triadic
#A1297C #7CA129 #297CA1
tetradic
#A1297C #A18A29 #29A14E #2940A1
square
#A1297C #A18A29 #29A14E #2940A1
split-complementary
#A1297C #40A129 #29A18A
monochromatic
#3F1031 #701D56 #A1297C #CD3AA0 #D96BB7

Accessibility & contrast

On white

6.72
#A1297C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A1297C
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1297C#FFFFFF#000000##FFFFFF
##A1297C1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364F7E
Deuteranopia (green-blind)
#5B6379
Tritanopia (blue-blind)
#AB294F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a1297c;
/* rgb */ color: rgb(161, 41, 124);
/* oklch */ color: oklch(49.7% 0.177 343.1);
Tailwind
colors: {
  custom: {
    50: '#c16fa2',
    500: '#a1297c',
    950: '#000000',
  },
}
SCSS
$custom: #a1297c;
$custom-light: #c16fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#a1297c",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 124
  },
  "hsl": {
    "h": 318.5,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49701,
    "c": 0.17701,
    "h": 343.1
  },
  "luminance": 0.10618
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A1297C

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

Preview Lab → · Contrast checker → · Palette generator →

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