#A1287C#A1287C

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

Color values

HEX#A1287C
RGBrgb(161, 40, 124)
HSLhsl(318, 60%, 39%)
HSVhsv(318, 75%, 63%)
CMYKcmyk(0%, 75.2%, 23%, 36.9%)
CIE-LABlab(38.82, 56.57, -19.36)
CIE-LCHlch(38.82, 59.79, 341.11°)
OKLaboklab(49.61% 0.1704 -0.0518)
OKLCHoklch(49.61% 0.178 343.1)
XYZxyz(19.0955, 10.5519, 20.0959)
Luminance0.1055 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1287C #28A14D
analogous
#8A28A1 #A1287C #A12840
triadic
#A1287C #7CA128 #287CA1
tetradic
#A1287C #A18A28 #28A14D #2840A1
square
#A1287C #A18A28 #28A14D #2840A1
split-complementary
#A1287C #40A128 #28A18A
monochromatic
#3F1030 #701C56 #A1287C #CE39A0 #DA6AB8

Accessibility & contrast

On white

6.75
#A1287C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A1287C
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1287C#FFFFFF#000000##FFFFFF
##A1287C1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F7E
Deuteranopia (green-blind)
#5A6379
Tritanopia (blue-blind)
#AB284F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a1287c;
/* rgb */ color: rgb(161, 40, 124);
/* oklch */ color: oklch(49.6% 0.178 343.1);
Tailwind
colors: {
  custom: {
    50: '#c16ea2',
    500: '#a1287c',
    950: '#000000',
  },
}
SCSS
$custom: #a1287c;
$custom-light: #c16ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#a1287c",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 318.347,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49615,
    "c": 0.17813,
    "h": 343.1
  },
  "luminance": 0.1055
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A1287C

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

Preview Lab → · Contrast checker → · Palette generator →

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