#A1297F#A1297F

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

Color values

HEX#A1297F
RGBrgb(161, 41, 127)
HSLhsl(317, 59%, 40%)
HSVhsv(317, 75%, 63%)
CMYKcmyk(0%, 74.5%, 21.1%, 36.9%)
CIE-LABlab(39.07, 56.65, -20.84)
CIE-LCHlch(39.07, 60.36, 339.81°)
OKLaboklab(49.84% 0.1699 -0.056)
OKLCHoklch(49.84% 0.179 341.8)
XYZxyz(19.3223, 10.6972, 21.1217)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1297F #29A14B
analogous
#8729A1 #A1297F #A12943
triadic
#A1297F #7FA129 #297FA1
tetradic
#A1297F #A18729 #29A14B #2943A1
square
#A1297F #A18729 #29A14B #2943A1
split-complementary
#A1297F #43A129 #29A187
monochromatic
#3F1032 #701D59 #A1297F #CD3AA3 #D96BBA

Accessibility & contrast

On white

6.69
#A1297F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A1297F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1297F
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1297F#FFFFFF#000000##FFFFFF
##A1297F1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345081
Deuteranopia (green-blind)
#5A637C
Tritanopia (blue-blind)
#AB2B51
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a1297f;
/* rgb */ color: rgb(161, 41, 127);
/* oklch */ color: oklch(49.8% 0.179 341.8);
Tailwind
colors: {
  custom: {
    50: '#c16fa4',
    500: '#a1297f',
    950: '#000000',
  },
}
SCSS
$custom: #a1297f;
$custom-light: #c16fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#a1297f",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 127
  },
  "hsl": {
    "h": 317,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4984,
    "c": 0.17891,
    "h": 341.8
  },
  "luminance": 0.10695
}

Semantic roles & 50–950 ramp

primary
#A1297F
secondary
#66C07F
accent
#E37245
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A1297F

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

Preview Lab → · Contrast checker → · Palette generator →

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