#A12A77#A12A77

#A12A77 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.173 H 345.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#A12A77
RGBrgb(161, 42, 119)
HSLhsl(321, 59%, 40%)
HSVhsv(321, 74%, 63%)
CMYKcmyk(0%, 73.9%, 26.1%, 36.9%)
CIE-LABlab(38.84, 55.23, -16.21)
CIE-LCHlch(38.84, 57.56, 343.64°)
OKLaboklab(49.56% 0.1674 -0.043)
OKLCHoklch(49.56% 0.173 345.6)
XYZxyz(18.8565, 10.5669, 18.4958)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12A77 #2AA154
analogous
#8F2AA1 #A12A77 #A12A3C
triadic
#A12A77 #77A12A #2A77A1
tetradic
#A12A77 #A18F2A #2AA154 #2A3CA1
square
#A12A77 #A18F2A #2AA154 #2A3CA1
split-complementary
#A12A77 #3CA12A #2AA18F
monochromatic
#40112F #701D53 #A12A77 #CC3C99 #D96DB3

Accessibility & contrast

On white

6.75
#A12A77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A12A77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12A77
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12A77#FFFFFF#000000##FFFFFF
##A12A771.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394F79
Deuteranopia (green-blind)
#5D6374
Tritanopia (blue-blind)
#AC284D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a12a77;
/* rgb */ color: rgb(161, 42, 119);
/* oklch */ color: oklch(49.6% 0.173 345.6);
Tailwind
colors: {
  custom: {
    50: '#c16f9e',
    500: '#a12a77',
    950: '#000000',
  },
}
SCSS
$custom: #a12a77;
$custom-light: #c16f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#a12a77",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 119
  },
  "hsl": {
    "h": 321.176,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49564,
    "c": 0.17281,
    "h": 345.6
  },
  "luminance": 0.10565
}

Semantic roles & 50–950 ramp

primary
#A12A77
secondary
#67C086
accent
#E27D46
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12A77

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

Preview Lab → · Contrast checker → · Palette generator →

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