#A1288A#A1288A

#A1288A is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.3% C 0.187 H 336.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A1288A
RGBrgb(161, 40, 138)
HSLhsl(311, 60%, 39%)
HSVhsv(311, 75%, 63%)
CMYKcmyk(0%, 75.2%, 14.3%, 36.9%)
CIE-LABlab(39.46, 58.54, -26.99)
CIE-LCHlch(39.46, 64.47, 335.25°)
OKLaboklab(50.3% 0.1724 -0.0735)
OKLCHoklch(50.3% 0.187 336.9)
XYZxyz(20.0445, 10.9315, 25.0942)
Luminance0.1093 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1288A #28A13F
analogous
#7C28A1 #A1288A #A1284E
triadic
#A1288A #8AA128 #288AA1
tetradic
#A1288A #A17C28 #28A13F #284EA1
square
#A1288A #A17C28 #28A13F #284EA1
split-complementary
#A1288A #4EA128 #28A17C
monochromatic
#3F1036 #701C60 #A1288A #CE39B1 #DA6AC5

Accessibility & contrast

On white

6.59
#A1288A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A1288A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1288A
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1288A#FFFFFF#000000##FFFFFF
##A1288A1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B518D
Deuteranopia (green-blind)
#556487
Tritanopia (blue-blind)
#AA3056
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a1288a;
/* rgb */ color: rgb(161, 40, 138);
/* oklch */ color: oklch(50.3% 0.187 336.9);
Tailwind
colors: {
  custom: {
    50: '#c16fac',
    500: '#a1288a',
    950: '#000000',
  },
}
SCSS
$custom: #a1288a;
$custom-light: #c16fac;
$custom-dark: #000000;
JSON
{
  "hex": "#a1288a",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 311.405,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50297,
    "c": 0.18741,
    "h": 336.9
  },
  "luminance": 0.1093
}

Semantic roles & 50–950 ramp

primary
#A1288A
secondary
#65C076
accent
#E36344
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1288A

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

Preview Lab → · Contrast checker → · Palette generator →

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