#A1278F#A1278F

#A1278F is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.192 H 334.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A1278F
RGBrgb(161, 39, 143)
HSLhsl(309, 61%, 39%)
HSVhsv(309, 76%, 63%)
CMYKcmyk(0%, 75.8%, 11.2%, 36.9%)
CIE-LABlab(39.60, 59.61, -29.84)
CIE-LCHlch(39.60, 66.66, 333.41°)
OKLaboklab(50.48% 0.1738 -0.0816)
OKLCHoklch(50.48% 0.192 334.9)
XYZxyz(20.3816, 11.0131, 27.0336)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1278F #27A139
analogous
#7627A1 #A1278F #A12752
triadic
#A1278F #8FA127 #278FA1
tetradic
#A1278F #A17627 #27A139 #2752A1
square
#A1278F #A17627 #27A139 #2752A1
split-complementary
#A1278F #52A127 #27A176
monochromatic
#3E0F37 #701B63 #A1278F #CE37B8 #DA68CA

Accessibility & contrast

On white

6.56
#A1278F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A1278F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1278F
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1278F#FFFFFF#000000##FFFFFF
##A1278F1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265292
Deuteranopia (green-blind)
#53648C
Tritanopia (blue-blind)
#A93259
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a1278f;
/* rgb */ color: rgb(161, 39, 143);
/* oklch */ color: oklch(50.5% 0.192 334.9);
Tailwind
colors: {
  custom: {
    50: '#c16fb0',
    500: '#a1278f',
    950: '#000000',
  },
}
SCSS
$custom: #a1278f;
$custom-light: #c16fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a1278f",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 308.852,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50477,
    "c": 0.19201,
    "h": 334.9
  },
  "luminance": 0.11011
}

Semantic roles & 50–950 ramp

primary
#A1278F
secondary
#63C071
accent
#E45B44
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1278F

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

Preview Lab → · Contrast checker → · Palette generator →

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