#A1277B#A1277B

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

Color values

HEX#A1277B
RGBrgb(161, 39, 123)
HSLhsl(319, 61%, 39%)
HSVhsv(319, 76%, 63%)
CMYKcmyk(0%, 75.8%, 23.6%, 36.9%)
CIE-LABlab(38.66, 56.76, -18.99)
CIE-LCHlch(38.66, 59.85, 341.51°)
OKLaboklab(49.49% 0.1713 -0.0508)
OKLCHoklch(49.49% 0.179 343.5)
XYZxyz(18.9993, 10.4602, 19.7535)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1277B #27A14D
analogous
#8A27A1 #A1277B #A1273E
triadic
#A1277B #7BA127 #277BA1
tetradic
#A1277B #A18A27 #27A14D #273EA1
square
#A1277B #A18A27 #27A14D #273EA1
split-complementary
#A1277B #3EA127 #27A18A
monochromatic
#3E0F30 #701B55 #A1277B #CE379F #DA68B7

Accessibility & contrast

On white

6.79
#A1277B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A1277B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1277B
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1277B#FFFFFF#000000##FFFFFF
##A1277B1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354E7D
Deuteranopia (green-blind)
#5A6278
Tritanopia (blue-blind)
#AC274E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a1277b;
/* rgb */ color: rgb(161, 39, 123);
/* oklch */ color: oklch(49.5% 0.179 343.5);
Tailwind
colors: {
  custom: {
    50: '#c16ea1',
    500: '#a1277b',
    950: '#000000',
  },
}
SCSS
$custom: #a1277b;
$custom-light: #c16ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#a1277b",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 318.689,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49485,
    "c": 0.17862,
    "h": 343.5
  },
  "luminance": 0.10458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A1277B

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

Preview Lab → · Contrast checker → · Palette generator →

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