#A1298A#A1298A

#A1298A is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.4% C 0.186 H 336.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A1298A
RGBrgb(161, 41, 138)
HSLhsl(312, 59%, 40%)
HSVhsv(312, 75%, 63%)
CMYKcmyk(0%, 74.5%, 14.3%, 36.9%)
CIE-LABlab(39.58, 58.22, -26.81)
CIE-LCHlch(39.58, 64.09, 335.27°)
OKLaboklab(50.38% 0.1714 -0.0729)
OKLCHoklch(50.38% 0.186 336.9)
XYZxyz(20.0787, 10.9998, 25.1055)
Luminance0.1100 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1298A #29A140
analogous
#7C29A1 #A1298A #A1294E
triadic
#A1298A #8AA129 #298AA1
tetradic
#A1298A #A17C29 #29A140 #294EA1
square
#A1298A #A17C29 #29A140 #294EA1
split-complementary
#A1298A #4EA129 #29A17C
monochromatic
#3F1036 #701D60 #A1298A #CD3AB1 #D96BC4

Accessibility & contrast

On white

6.56
#A1298A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A1298A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1298A
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1298A#FFFFFF#000000##FFFFFF
##A1298A1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528D
Deuteranopia (green-blind)
#566487
Tritanopia (blue-blind)
#AA3157
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a1298a;
/* rgb */ color: rgb(161, 41, 138);
/* oklch */ color: oklch(50.4% 0.186 336.9);
Tailwind
colors: {
  custom: {
    50: '#c06fac',
    500: '#a1298a',
    950: '#000000',
  },
}
SCSS
$custom: #a1298a;
$custom-light: #c06fac;
$custom-dark: #000000;
JSON
{
  "hex": "#a1298a",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 138
  },
  "hsl": {
    "h": 311.5,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.5038,
    "c": 0.18631,
    "h": 336.9
  },
  "luminance": 0.10998
}

Semantic roles & 50–950 ramp

primary
#A1298A
secondary
#66C077
accent
#E36345
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1298A

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

Preview Lab → · Contrast checker → · Palette generator →

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