#A1278C#A1278C

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

Color values

HEX#A1278C
RGBrgb(161, 39, 140)
HSLhsl(310, 61%, 39%)
HSVhsv(310, 76%, 63%)
CMYKcmyk(0%, 75.8%, 13%, 36.9%)
CIE-LABlab(39.45, 59.16, -28.24)
CIE-LCHlch(39.45, 65.55, 334.48°)
OKLaboklab(50.32% 0.1736 -0.077)
OKLCHoklch(50.32% 0.19 336.1)
XYZxyz(20.1574, 10.9234, 25.8527)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1278C #27A13C
analogous
#7927A1 #A1278C #A1274F
triadic
#A1278C #8CA127 #278CA1
tetradic
#A1278C #A17927 #27A13C #274FA1
square
#A1278C #A17927 #27A13C #274FA1
split-complementary
#A1278C #4FA127 #27A179
monochromatic
#3E0F36 #701B61 #A1278C #CE37B4 #DA68C7

Accessibility & contrast

On white

6.59
#A1278C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A1278C
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1278C#FFFFFF#000000##FFFFFF
##A1278C1.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29518F
Deuteranopia (green-blind)
#546389
Tritanopia (blue-blind)
#A93057
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a1278c;
/* rgb */ color: rgb(161, 39, 140);
/* oklch */ color: oklch(50.3% 0.190 336.1);
Tailwind
colors: {
  custom: {
    50: '#c16eae',
    500: '#a1278c',
    950: '#000000',
  },
}
SCSS
$custom: #a1278c;
$custom-light: #c16eae;
$custom-dark: #000000;
JSON
{
  "hex": "#a1278c",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 140
  },
  "hsl": {
    "h": 310.328,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50319,
    "c": 0.18988,
    "h": 336.1
  },
  "luminance": 0.10922
}

Semantic roles & 50–950 ramp

primary
#A1278C
secondary
#63C073
accent
#E45F44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1278C

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

Preview Lab → · Contrast checker → · Palette generator →

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