#A1287F#A1287F

#A1287F is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.8% C 0.180 H 341.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A1287F
RGBrgb(161, 40, 127)
HSLhsl(317, 60%, 39%)
HSVhsv(317, 75%, 63%)
CMYKcmyk(0%, 75.2%, 21.1%, 36.9%)
CIE-LABlab(38.95, 56.98, -21.02)
CIE-LCHlch(38.95, 60.73, 339.75°)
OKLaboklab(49.76% 0.1709 -0.0565)
OKLCHoklch(49.76% 0.18 341.7)
XYZxyz(19.2881, 10.6289, 21.1103)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1287F #28A14A
analogous
#8728A1 #A1287F #A12842
triadic
#A1287F #7FA128 #287FA1
tetradic
#A1287F #A18728 #28A14A #2842A1
square
#A1287F #A18728 #28A14A #2842A1
split-complementary
#A1287F #42A128 #28A187
monochromatic
#3F1032 #701C58 #A1287F #CE39A4 #DA6ABA

Accessibility & contrast

On white

6.72
#A1287F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A1287F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1287F
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1287F#FFFFFF#000000##FFFFFF
##A1287F1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334F81
Deuteranopia (green-blind)
#59637C
Tritanopia (blue-blind)
#AB2A50
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a1287f;
/* rgb */ color: rgb(161, 40, 127);
/* oklch */ color: oklch(49.8% 0.180 341.7);
Tailwind
colors: {
  custom: {
    50: '#c16ea4',
    500: '#a1287f',
    950: '#000000',
  },
}
SCSS
$custom: #a1287f;
$custom-light: #c16ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#a1287f",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 316.86,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49755,
    "c": 0.18003,
    "h": 341.7
  },
  "luminance": 0.10627
}

Semantic roles & 50–950 ramp

primary
#A1287F
secondary
#65C07E
accent
#E37144
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A1287F

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

Preview Lab → · Contrast checker → · Palette generator →

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