#A12774#A12774

#A12774 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.174 H 346.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#A12774
RGBrgb(161, 39, 116)
HSLhsl(322, 61%, 39%)
HSVhsv(322, 76%, 63%)
CMYKcmyk(0%, 75.8%, 28%, 36.9%)
CIE-LABlab(38.36, 55.86, -15.07)
CIE-LCHlch(38.36, 57.85, 344.90°)
OKLaboklab(49.17% 0.1698 -0.0399)
OKLCHoklch(49.17% 0.174 346.8)
XYZxyz(18.5767, 10.2911, 17.5277)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12774 #27A154
analogous
#9127A1 #A12774 #A12737
triadic
#A12774 #74A127 #2774A1
tetradic
#A12774 #A19127 #27A154 #2737A1
square
#A12774 #A19127 #27A154 #2737A1
split-complementary
#A12774 #37A127 #27A191
monochromatic
#3E0F2D #701B51 #A12774 #CE3797 #DA68B0

Accessibility & contrast

On white

6.87
#A12774 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A12774 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12774
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12774#FFFFFF#000000##FFFFFF
##A127741.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384D76
Deuteranopia (green-blind)
#5D6271
Tritanopia (blue-blind)
#AC234A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12774;
/* rgb */ color: rgb(161, 39, 116);
/* oklch */ color: oklch(49.2% 0.174 346.8);
Tailwind
colors: {
  custom: {
    50: '#c16e9c',
    500: '#a12774',
    950: '#000000',
  },
}
SCSS
$custom: #a12774;
$custom-light: #c16e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#a12774",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 116
  },
  "hsl": {
    "h": 322.131,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49174,
    "c": 0.17445,
    "h": 346.8
  },
  "luminance": 0.10289
}

Semantic roles & 50–950 ramp

primary
#A12774
secondary
#63C086
accent
#E47F44
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12774

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

Preview Lab → · Contrast checker → · Palette generator →

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