#A1288D#A1288D

#A1288D is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.190 H 335.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A1288D
RGBrgb(161, 40, 141)
HSLhsl(310, 60%, 39%)
HSVhsv(310, 75%, 63%)
CMYKcmyk(0%, 75.2%, 12.4%, 36.9%)
CIE-LABlab(39.61, 58.99, -28.60)
CIE-LCHlch(39.61, 65.55, 334.14°)
OKLaboklab(50.45% 0.1727 -0.078)
OKLCHoklch(50.45% 0.19 335.7)
XYZxyz(20.2647, 11.0196, 26.2539)
Luminance0.1102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1288D #28A13C
analogous
#7928A1 #A1288D #A12851
triadic
#A1288D #8DA128 #288DA1
tetradic
#A1288D #A17928 #28A13C #2851A1
square
#A1288D #A17928 #28A13C #2851A1
split-complementary
#A1288D #51A128 #28A179
monochromatic
#3F1037 #701C62 #A1288D #CE39B5 #DA6AC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1288D#FFFFFF#000000##FFFFFF
##A1288D1.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)
#295290
Deuteranopia (green-blind)
#54648A
Tritanopia (blue-blind)
#A93158
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a1288d;
/* rgb */ color: rgb(161, 40, 141);
/* oklch */ color: oklch(50.5% 0.190 335.7);
Tailwind
colors: {
  custom: {
    50: '#c06fae',
    500: '#a1288d',
    950: '#000000',
  },
}
SCSS
$custom: #a1288d;
$custom-light: #c06fae;
$custom-dark: #000000;
JSON
{
  "hex": "#a1288d",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 309.917,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50452,
    "c": 0.18952,
    "h": 335.7
  },
  "luminance": 0.11018
}

Semantic roles & 50–950 ramp

primary
#A1288D
secondary
#65C074
accent
#E35F44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1288D

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

Preview Lab → · Contrast checker → · Palette generator →

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