#A1277C#A1277C

#A1277C is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.179 H 343.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A1277C
RGBrgb(161, 39, 124)
HSLhsl(318, 61%, 39%)
HSVhsv(318, 76%, 63%)
CMYKcmyk(0%, 75.8%, 23%, 36.9%)
CIE-LABlab(38.70, 56.90, -19.54)
CIE-LCHlch(38.70, 60.16, 341.05°)
OKLaboklab(49.53% 0.1714 -0.0523)
OKLCHoklch(49.53% 0.179 343)
XYZxyz(19.0623, 10.4853, 20.0849)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1277C #27A14C
analogous
#8927A1 #A1277C #A1273F
triadic
#A1277C #7CA127 #277CA1
tetradic
#A1277C #A18927 #27A14C #273FA1
square
#A1277C #A18927 #27A14C #273FA1
split-complementary
#A1277C #3FA127 #27A189
monochromatic
#3E0F30 #701B56 #A1277C #CE37A0 #DA68B8

Accessibility & contrast

On white

6.78
#A1277C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A1277C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1277C
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1277C#FFFFFF#000000##FFFFFF
##A1277C1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344E7E
Deuteranopia (green-blind)
#5A6279
Tritanopia (blue-blind)
#AB274E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a1277c;
/* rgb */ color: rgb(161, 39, 124);
/* oklch */ color: oklch(49.5% 0.179 343.0);
Tailwind
colors: {
  custom: {
    50: '#c16ea2',
    500: '#a1277c',
    950: '#000000',
  },
}
SCSS
$custom: #a1277c;
$custom-light: #c16ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#a1277c",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 318.197,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49531,
    "c": 0.17924,
    "h": 343
  },
  "luminance": 0.10483
}

Semantic roles & 50–950 ramp

primary
#A1277C
secondary
#63C080
accent
#E47444
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A1277C

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

Preview Lab → · Contrast checker → · Palette generator →

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