#A1287E#A1287E

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

Color values

HEX#A1287E
RGBrgb(161, 40, 126)
HSLhsl(317, 60%, 39%)
HSVhsv(317, 75%, 63%)
CMYKcmyk(0%, 75.2%, 21.7%, 36.9%)
CIE-LABlab(38.90, 56.84, -20.47)
CIE-LCHlch(38.90, 60.41, 340.20°)
OKLaboklab(49.71% 0.1708 -0.0549)
OKLCHoklch(49.71% 0.179 342.2)
XYZxyz(19.2233, 10.6030, 20.7688)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1287E #28A14B
analogous
#8828A1 #A1287E #A12842
triadic
#A1287E #7EA128 #287EA1
tetradic
#A1287E #A18828 #28A14B #2842A1
square
#A1287E #A18828 #28A14B #2842A1
split-complementary
#A1287E #42A128 #28A188
monochromatic
#3F1031 #701C58 #A1287E #CE39A3 #DA6AB9

Accessibility & contrast

On white

6.73
#A1287E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A1287E
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1287E#FFFFFF#000000##FFFFFF
##A1287E1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F80
Deuteranopia (green-blind)
#5A637B
Tritanopia (blue-blind)
#AB2950
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a1287e;
/* rgb */ color: rgb(161, 40, 126);
/* oklch */ color: oklch(49.7% 0.179 342.2);
Tailwind
colors: {
  custom: {
    50: '#c16ea3',
    500: '#a1287e',
    950: '#000000',
  },
}
SCSS
$custom: #a1287e;
$custom-light: #c16ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#a1287e",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 317.355,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49708,
    "c": 0.17939,
    "h": 342.2
  },
  "luminance": 0.10601
}

Semantic roles & 50–950 ramp

primary
#A1287E
secondary
#65C07F
accent
#E37244
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A1287E

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

Preview Lab → · Contrast checker → · Palette generator →

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