#A1288F#A1288F

#A1288F is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.191 H 334.9°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A1288F
RGBrgb(161, 40, 143)
HSLhsl(309, 60%, 39%)
HSVhsv(309, 75%, 63%)
CMYKcmyk(0%, 75.2%, 11.2%, 36.9%)
CIE-LABlab(39.71, 59.29, -29.66)
CIE-LCHlch(39.71, 66.30, 333.42°)
OKLaboklab(50.56% 0.1729 -0.0811)
OKLCHoklch(50.56% 0.191 334.9)
XYZxyz(20.4149, 11.0796, 27.0447)
Luminance0.1108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1288F #28A13A
analogous
#7728A1 #A1288F #A12852
triadic
#A1288F #8FA128 #288FA1
tetradic
#A1288F #A17728 #28A13A #2852A1
square
#A1288F #A17728 #28A13A #2852A1
split-complementary
#A1288F #52A128 #28A177
monochromatic
#3F1038 #701C63 #A1288F #CE39B7 #DA6AC9

Accessibility & contrast

On white

6.53
#A1288F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A1288F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1288F
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1288F#FFFFFF#000000##FFFFFF
##A1288F1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275292
Deuteranopia (green-blind)
#53648C
Tritanopia (blue-blind)
#A93259
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a1288f;
/* rgb */ color: rgb(161, 40, 143);
/* oklch */ color: oklch(50.6% 0.191 334.9);
Tailwind
colors: {
  custom: {
    50: '#c06fb0',
    500: '#a1288f',
    950: '#000000',
  },
}
SCSS
$custom: #a1288f;
$custom-light: #c06fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a1288f",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 308.926,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50558,
    "c": 0.19095,
    "h": 334.9
  },
  "luminance": 0.11078
}

Semantic roles & 50–950 ramp

primary
#A1288F
secondary
#65C072
accent
#E35C44
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1288F

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

Preview Lab → · Contrast checker → · Palette generator →

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