#A1288E#A1288E

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

Color values

HEX#A1288E
RGBrgb(161, 40, 142)
HSLhsl(309, 60%, 39%)
HSVhsv(309, 75%, 63%)
CMYKcmyk(0%, 75.2%, 11.8%, 36.9%)
CIE-LABlab(39.66, 59.14, -29.13)
CIE-LCHlch(39.66, 65.92, 333.78°)
OKLaboklab(50.51% 0.1728 -0.0796)
OKLCHoklch(50.51% 0.19 335.3)
XYZxyz(20.3395, 11.0495, 26.6475)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1288E #28A13B
analogous
#7728A1 #A1288E #A12852
triadic
#A1288E #8EA128 #288EA1
tetradic
#A1288E #A17728 #28A13B #2852A1
square
#A1288E #A17728 #28A13B #2852A1
split-complementary
#A1288E #52A128 #28A177
monochromatic
#3F1038 #701C63 #A1288E #CE39B6 #DA6AC8

Accessibility & contrast

On white

6.54
#A1288E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A1288E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1288E
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1288E#FFFFFF#000000##FFFFFF
##A1288E1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285291
Deuteranopia (green-blind)
#53648B
Tritanopia (blue-blind)
#A93258
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a1288e;
/* rgb */ color: rgb(161, 40, 142);
/* oklch */ color: oklch(50.5% 0.190 335.3);
Tailwind
colors: {
  custom: {
    50: '#c06faf',
    500: '#a1288e',
    950: '#000000',
  },
}
SCSS
$custom: #a1288e;
$custom-light: #c06faf;
$custom-dark: #000000;
JSON
{
  "hex": "#a1288e",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 309.421,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50505,
    "c": 0.19024,
    "h": 335.3
  },
  "luminance": 0.11048
}

Semantic roles & 50–950 ramp

primary
#A1288E
secondary
#65C073
accent
#E35D44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1288E

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

Preview Lab → · Contrast checker → · Palette generator →

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