#A1277D#A1277D

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

Color values

HEX#A1277D
RGBrgb(161, 39, 125)
HSLhsl(318, 61%, 39%)
HSVhsv(318, 76%, 63%)
CMYKcmyk(0%, 75.8%, 22.4%, 36.9%)
CIE-LABlab(38.74, 57.03, -20.09)
CIE-LCHlch(38.74, 60.47, 340.59°)
OKLaboklab(49.58% 0.1716 -0.0539)
OKLCHoklch(49.58% 0.18 342.6)
XYZxyz(19.1258, 10.5108, 20.4196)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1277D #27A14B
analogous
#8827A1 #A1277D #A12740
triadic
#A1277D #7DA127 #277DA1
tetradic
#A1277D #A18827 #27A14B #2740A1
square
#A1277D #A18827 #27A14B #2740A1
split-complementary
#A1277D #40A127 #27A188
monochromatic
#3E0F31 #701B57 #A1277D #CE37A2 #DA68B9

Accessibility & contrast

On white

6.77
#A1277D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A1277D
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1277D#FFFFFF#000000##FFFFFF
##A1277D1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7F
Deuteranopia (green-blind)
#5A627A
Tritanopia (blue-blind)
#AB284F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a1277d;
/* rgb */ color: rgb(161, 39, 125);
/* oklch */ color: oklch(49.6% 0.180 342.6);
Tailwind
colors: {
  custom: {
    50: '#c16ea3',
    500: '#a1277d',
    950: '#000000',
  },
}
SCSS
$custom: #a1277d;
$custom-light: #c16ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#a1277d",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 317.705,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49578,
    "c": 0.17986,
    "h": 342.6
  },
  "luminance": 0.10509
}

Semantic roles & 50–950 ramp

primary
#A1277D
secondary
#63C07F
accent
#E47344
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A1277D

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

Preview Lab → · Contrast checker → · Palette generator →

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