#A1277E#A1277E

#A1277E is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.6% C 0.180 H 342.1°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A1277E
RGBrgb(161, 39, 126)
HSLhsl(317, 61%, 39%)
HSVhsv(317, 76%, 63%)
CMYKcmyk(0%, 75.8%, 21.7%, 36.9%)
CIE-LABlab(38.79, 57.17, -20.64)
CIE-LCHlch(38.79, 60.78, 340.14°)
OKLaboklab(49.63% 0.1718 -0.0554)
OKLCHoklch(49.63% 0.18 342.1)
XYZxyz(19.1900, 10.5364, 20.7577)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1277E #27A14A
analogous
#8727A1 #A1277E #A12741
triadic
#A1277E #7EA127 #277EA1
tetradic
#A1277E #A18727 #27A14A #2741A1
square
#A1277E #A18727 #27A14A #2741A1
split-complementary
#A1277E #41A127 #27A187
monochromatic
#3E0F31 #701B57 #A1277E #CE37A3 #DA68BA

Accessibility & contrast

On white

6.76
#A1277E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A1277E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1277E
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1277E#FFFFFF#000000##FFFFFF
##A1277E1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334F80
Deuteranopia (green-blind)
#59627B
Tritanopia (blue-blind)
#AB294F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a1277e;
/* rgb */ color: rgb(161, 39, 126);
/* oklch */ color: oklch(49.6% 0.180 342.1);
Tailwind
colors: {
  custom: {
    50: '#c16ea3',
    500: '#a1277e',
    950: '#000000',
  },
}
SCSS
$custom: #a1277e;
$custom-light: #c16ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#a1277e",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 317.213,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49625,
    "c": 0.18049,
    "h": 342.1
  },
  "luminance": 0.10534
}

Semantic roles & 50–950 ramp

primary
#A1277E
secondary
#63C07E
accent
#E47244
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A1277E

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

Preview Lab → · Contrast checker → · Palette generator →

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