#A1278E#A1278E

#A1278E is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.191 H 335.3°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#A1278E
RGBrgb(161, 39, 142)
HSLhsl(309, 61%, 39%)
HSVhsv(309, 76%, 63%)
CMYKcmyk(0%, 75.8%, 11.8%, 36.9%)
CIE-LABlab(39.55, 59.46, -29.31)
CIE-LCHlch(39.55, 66.29, 333.76°)
OKLaboklab(50.42% 0.1737 -0.0801)
OKLCHoklch(50.42% 0.191 335.3)
XYZxyz(20.3062, 10.9829, 26.6364)
Luminance0.1098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1278E #27A13A
analogous
#7727A1 #A1278E #A12751
triadic
#A1278E #8EA127 #278EA1
tetradic
#A1278E #A17727 #27A13A #2751A1
square
#A1278E #A17727 #27A13A #2751A1
split-complementary
#A1278E #51A127 #27A177
monochromatic
#3E0F37 #701B63 #A1278E #CE37B7 #DA68C9

Accessibility & contrast

On white

6.57
#A1278E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A1278E
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1278E#FFFFFF#000000##FFFFFF
##A1278E1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275291
Deuteranopia (green-blind)
#53648B
Tritanopia (blue-blind)
#A93158
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a1278e;
/* rgb */ color: rgb(161, 39, 142);
/* oklch */ color: oklch(50.4% 0.191 335.3);
Tailwind
colors: {
  custom: {
    50: '#c16eaf',
    500: '#a1278e',
    950: '#000000',
  },
}
SCSS
$custom: #a1278e;
$custom-light: #c16eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#a1278e",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 309.344,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50424,
    "c": 0.1913,
    "h": 335.3
  },
  "luminance": 0.10981
}

Semantic roles & 50–950 ramp

primary
#A1278E
secondary
#63C072
accent
#E45D44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1278E

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

Preview Lab → · Contrast checker → · Palette generator →

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