#A1287D#A1287D

#A1287D is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.179 H 342.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A1287D
RGBrgb(161, 40, 125)
HSLhsl(318, 60%, 39%)
HSVhsv(318, 75%, 63%)
CMYKcmyk(0%, 75.2%, 22.4%, 36.9%)
CIE-LABlab(38.86, 56.71, -19.91)
CIE-LCHlch(38.86, 60.10, 340.65°)
OKLaboklab(49.66% 0.1706 -0.0534)
OKLCHoklch(49.66% 0.179 342.6)
XYZxyz(19.1591, 10.5773, 20.4307)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1287D #28A14C
analogous
#8928A1 #A1287D #A12841
triadic
#A1287D #7DA128 #287DA1
tetradic
#A1287D #A18928 #28A14C #2841A1
square
#A1287D #A18928 #28A14C #2841A1
split-complementary
#A1287D #41A128 #28A189
monochromatic
#3F1031 #701C57 #A1287D #CE39A1 #DA6AB8

Accessibility & contrast

On white

6.74
#A1287D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A1287D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1287D
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1287D#FFFFFF#000000##FFFFFF
##A1287D1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F7F
Deuteranopia (green-blind)
#5A637A
Tritanopia (blue-blind)
#AB294F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a1287d;
/* rgb */ color: rgb(161, 40, 125);
/* oklch */ color: oklch(49.7% 0.179 342.6);
Tailwind
colors: {
  custom: {
    50: '#c16ea3',
    500: '#a1287d',
    950: '#000000',
  },
}
SCSS
$custom: #a1287d;
$custom-light: #c16ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#a1287d",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 317.851,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49662,
    "c": 0.17876,
    "h": 342.6
  },
  "luminance": 0.10575
}

Semantic roles & 50–950 ramp

primary
#A1287D
secondary
#65C080
accent
#E37444
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A1287D

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

Preview Lab → · Contrast checker → · Palette generator →

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