#A12771#A12771

#A12771 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.0% C 0.173 H 348.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#A12771
RGBrgb(161, 39, 113)
HSLhsl(324, 61%, 39%)
HSVhsv(324, 76%, 63%)
CMYKcmyk(0%, 75.8%, 29.8%, 36.9%)
CIE-LABlab(38.24, 55.48, -13.38)
CIE-LCHlch(38.24, 57.07, 346.44°)
OKLaboklab(49.05% 0.1692 -0.0352)
OKLCHoklch(49.05% 0.173 348.3)
XYZxyz(18.4050, 10.2224, 16.6235)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12771 #27A157
analogous
#9427A1 #A12771 #A12734
triadic
#A12771 #71A127 #2771A1
tetradic
#A12771 #A19427 #27A157 #2734A1
square
#A12771 #A19427 #27A157 #2734A1
split-complementary
#A12771 #34A127 #27A194
monochromatic
#3E0F2C #701B4E #A12771 #CE3793 #DA68AD

Accessibility & contrast

On white

6.90
#A12771 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#A12771 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12771
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12771#FFFFFF#000000##FFFFFF
##A127711.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4C73
Deuteranopia (green-blind)
#5E626E
Tritanopia (blue-blind)
#AD2149
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12771;
/* rgb */ color: rgb(161, 39, 113);
/* oklch */ color: oklch(49.0% 0.173 348.3);
Tailwind
colors: {
  custom: {
    50: '#c16d99',
    500: '#a12771',
    950: '#000000',
  },
}
SCSS
$custom: #a12771;
$custom-light: #c16d99;
$custom-dark: #000000;
JSON
{
  "hex": "#a12771",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 113
  },
  "hsl": {
    "h": 323.607,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49046,
    "c": 0.17278,
    "h": 348.3
  },
  "luminance": 0.1022
}

Semantic roles & 50–950 ramp

primary
#A12771
secondary
#63C088
accent
#E48344
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12771

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

Preview Lab → · Contrast checker → · Palette generator →

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