#A1278A#A1278A

#A1278A is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.188 H 336.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#A1278A
RGBrgb(161, 39, 138)
HSLhsl(311, 61%, 39%)
HSVhsv(311, 76%, 63%)
CMYKcmyk(0%, 75.8%, 14.3%, 36.9%)
CIE-LABlab(39.35, 58.87, -27.17)
CIE-LCHlch(39.35, 64.83, 335.22°)
OKLaboklab(50.22% 0.1734 -0.074)
OKLCHoklch(50.22% 0.188 336.9)
XYZxyz(20.0113, 10.8649, 25.0831)
Luminance0.1086 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1278A #27A13E
analogous
#7B27A1 #A1278A #A1274D
triadic
#A1278A #8AA127 #278AA1
tetradic
#A1278A #A17B27 #27A13E #274DA1
square
#A1278A #A17B27 #27A13E #274DA1
split-complementary
#A1278A #4DA127 #27A17B
monochromatic
#3E0F36 #701B60 #A1278A #CE37B2 #DA68C5

Accessibility & contrast

On white

6.62
#A1278A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A1278A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1278A
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1278A#FFFFFF#000000##FFFFFF
##A1278A1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A518D
Deuteranopia (green-blind)
#556387
Tritanopia (blue-blind)
#AA2F56
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a1278a;
/* rgb */ color: rgb(161, 39, 138);
/* oklch */ color: oklch(50.2% 0.188 336.9);
Tailwind
colors: {
  custom: {
    50: '#c16eac',
    500: '#a1278a',
    950: '#000000',
  },
}
SCSS
$custom: #a1278a;
$custom-light: #c16eac;
$custom-dark: #000000;
JSON
{
  "hex": "#a1278a",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 138
  },
  "hsl": {
    "h": 311.311,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50216,
    "c": 0.18849,
    "h": 336.9
  },
  "luminance": 0.10863
}

Semantic roles & 50–950 ramp

primary
#A1278A
secondary
#63C075
accent
#E46244
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1278A

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

Preview Lab → · Contrast checker → · Palette generator →

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