#A1278B#A1278B

#A1278B is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.3% C 0.189 H 336.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A1278B
RGBrgb(161, 39, 139)
HSLhsl(311, 61%, 39%)
HSVhsv(311, 76%, 63%)
CMYKcmyk(0%, 75.8%, 13.7%, 36.9%)
CIE-LABlab(39.40, 59.01, -27.70)
CIE-LCHlch(39.40, 65.19, 334.85°)
OKLaboklab(50.27% 0.1735 -0.0755)
OKLCHoklch(50.27% 0.189 336.5)
XYZxyz(20.0840, 10.8940, 25.4661)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1278B #27A13D
analogous
#7A27A1 #A1278B #A1274E
triadic
#A1278B #8BA127 #278BA1
tetradic
#A1278B #A17A27 #27A13D #274EA1
square
#A1278B #A17A27 #27A13D #274EA1
split-complementary
#A1278B #4EA127 #27A17A
monochromatic
#3E0F36 #701B60 #A1278B #CE37B3 #DA68C6

Accessibility & contrast

On white

6.61
#A1278B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A1278B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1278B
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1278B#FFFFFF#000000##FFFFFF
##A1278B1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A518E
Deuteranopia (green-blind)
#546388
Tritanopia (blue-blind)
#AA3056
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a1278b;
/* rgb */ color: rgb(161, 39, 139);
/* oklch */ color: oklch(50.3% 0.189 336.5);
Tailwind
colors: {
  custom: {
    50: '#c16ead',
    500: '#a1278b',
    950: '#000000',
  },
}
SCSS
$custom: #a1278b;
$custom-light: #c16ead;
$custom-dark: #000000;
JSON
{
  "hex": "#a1278b",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 310.82,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50267,
    "c": 0.18918,
    "h": 336.5
  },
  "luminance": 0.10892
}

Semantic roles & 50–950 ramp

primary
#A1278B
secondary
#63C074
accent
#E46144
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1278B

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

Preview Lab → · Contrast checker → · Palette generator →

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