#A1287B#A1287B

#A1287B is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.6% C 0.178 H 343.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A1287B
RGBrgb(161, 40, 123)
HSLhsl(319, 60%, 39%)
HSVhsv(319, 75%, 63%)
CMYKcmyk(0%, 75.2%, 23.6%, 36.9%)
CIE-LABlab(38.77, 56.44, -18.81)
CIE-LCHlch(38.77, 59.49, 341.57°)
OKLaboklab(49.57% 0.1702 -0.0503)
OKLCHoklch(49.57% 0.178 343.5)
XYZxyz(19.0326, 10.5267, 19.7646)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1287B #28A14E
analogous
#8B28A1 #A1287B #A1283F
triadic
#A1287B #7BA128 #287BA1
tetradic
#A1287B #A18B28 #28A14E #283FA1
square
#A1287B #A18B28 #28A14E #283FA1
split-complementary
#A1287B #3FA128 #28A18B
monochromatic
#3F1030 #701C56 #A1287B #CE399F #DA6AB7

Accessibility & contrast

On white

6.76
#A1287B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A1287B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1287B
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1287B#FFFFFF#000000##FFFFFF
##A1287B1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354E7D
Deuteranopia (green-blind)
#5B6378
Tritanopia (blue-blind)
#AC284E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a1287b;
/* rgb */ color: rgb(161, 40, 123);
/* oklch */ color: oklch(49.6% 0.178 343.5);
Tailwind
colors: {
  custom: {
    50: '#c16ea1',
    500: '#a1287b',
    950: '#000000',
  },
}
SCSS
$custom: #a1287b;
$custom-light: #c16ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#a1287b",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 123
  },
  "hsl": {
    "h": 318.843,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49569,
    "c": 0.17751,
    "h": 343.5
  },
  "luminance": 0.10525
}

Semantic roles & 50–950 ramp

primary
#A1287B
secondary
#65C081
accent
#E37644
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A1287B

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

Preview Lab → · Contrast checker → · Palette generator →

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