#A12777#A12777

#A12777 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.176 H 345.4°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#A12777
RGBrgb(161, 39, 119)
HSLhsl(321, 61%, 39%)
HSVhsv(321, 76%, 63%)
CMYKcmyk(0%, 75.8%, 26.1%, 36.9%)
CIE-LABlab(38.48, 56.24, -16.76)
CIE-LCHlch(38.48, 58.68, 343.41°)
OKLaboklab(49.31% 0.1705 -0.0445)
OKLCHoklch(49.31% 0.176 345.4)
XYZxyz(18.7540, 10.3621, 18.4616)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12777 #27A151
analogous
#8E27A1 #A12777 #A1273A
triadic
#A12777 #77A127 #2777A1
tetradic
#A12777 #A18E27 #27A151 #273AA1
square
#A12777 #A18E27 #27A151 #273AA1
split-complementary
#A12777 #3AA127 #27A18E
monochromatic
#3E0F2E #701B53 #A12777 #CE379A #DA68B3

Accessibility & contrast

On white

6.84
#A12777 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A12777 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12777
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12777#FFFFFF#000000##FFFFFF
##A127771.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374D79
Deuteranopia (green-blind)
#5C6274
Tritanopia (blue-blind)
#AC254C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a12777;
/* rgb */ color: rgb(161, 39, 119);
/* oklch */ color: oklch(49.3% 0.176 345.4);
Tailwind
colors: {
  custom: {
    50: '#c16e9e',
    500: '#a12777',
    950: '#000000',
  },
}
SCSS
$custom: #a12777;
$custom-light: #c16e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#a12777",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 119
  },
  "hsl": {
    "h": 320.656,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49305,
    "c": 0.1762,
    "h": 345.4
  },
  "luminance": 0.1036
}

Semantic roles & 50–950 ramp

primary
#A12777
secondary
#63C083
accent
#E47B44
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12777

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

Preview Lab → · Contrast checker → · Palette generator →

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