#A1288C#A1288C

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

Color values

HEX#A1288C
RGBrgb(161, 40, 140)
HSLhsl(310, 60%, 39%)
HSVhsv(310, 75%, 63%)
CMYKcmyk(0%, 75.2%, 13%, 36.9%)
CIE-LABlab(39.56, 58.84, -28.06)
CIE-LCHlch(39.56, 65.19, 334.50°)
OKLaboklab(50.4% 0.1726 -0.0765)
OKLCHoklch(50.4% 0.189 336.1)
XYZxyz(20.1907, 10.9899, 25.8638)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1288C #28A13D
analogous
#7A28A1 #A1288C #A12850
triadic
#A1288C #8CA128 #288CA1
tetradic
#A1288C #A17A28 #28A13D #2850A1
square
#A1288C #A17A28 #28A13D #2850A1
split-complementary
#A1288C #50A128 #28A17A
monochromatic
#3F1037 #701C61 #A1288C #CE39B4 #DA6AC6

Accessibility & contrast

On white

6.57
#A1288C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A1288C
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1288C#FFFFFF#000000##FFFFFF
##A1288C1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A528F
Deuteranopia (green-blind)
#546489
Tritanopia (blue-blind)
#A93157
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a1288c;
/* rgb */ color: rgb(161, 40, 140);
/* oklch */ color: oklch(50.4% 0.189 336.1);
Tailwind
colors: {
  custom: {
    50: '#c06fae',
    500: '#a1288c',
    950: '#000000',
  },
}
SCSS
$custom: #a1288c;
$custom-light: #c06fae;
$custom-dark: #000000;
JSON
{
  "hex": "#a1288c",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 310.413,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.504,
    "c": 0.18881,
    "h": 336.1
  },
  "luminance": 0.10988
}

Semantic roles & 50–950 ramp

primary
#A1288C
secondary
#65C075
accent
#E36044
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1288C

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

Preview Lab → · Contrast checker → · Palette generator →

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