#A12A7A#A12A7A

#A12A7A is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.175 H 344.1°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A12A7A
RGBrgb(161, 42, 122)
HSLhsl(320, 59%, 40%)
HSVhsv(320, 74%, 63%)
CMYKcmyk(0%, 73.9%, 24.2%, 36.9%)
CIE-LABlab(38.97, 55.63, -17.88)
CIE-LCHlch(38.97, 58.43, 342.18°)
OKLaboklab(49.7% 0.168 -0.0477)
OKLCHoklch(49.7% 0.175 344.1)
XYZxyz(19.0395, 10.6401, 19.4596)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12A7A #2AA151
analogous
#8D2AA1 #A12A7A #A12A3E
triadic
#A12A7A #7AA12A #2A7AA1
tetradic
#A12A7A #A18D2A #2AA151 #2A3EA1
square
#A12A7A #A18D2A #2AA151 #2A3EA1
split-complementary
#A12A7A #3EA12A #2AA18D
monochromatic
#401130 #701D55 #A12A7A #CC3C9D #D96DB5

Accessibility & contrast

On white

6.71
#A12A7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A12A7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12A7A
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12A7A#FFFFFF#000000##FFFFFF
##A12A7A1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7C
Deuteranopia (green-blind)
#5C6377
Tritanopia (blue-blind)
#AC294E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a12a7a;
/* rgb */ color: rgb(161, 42, 122);
/* oklch */ color: oklch(49.7% 0.175 344.1);
Tailwind
colors: {
  custom: {
    50: '#c16fa0',
    500: '#a12a7a',
    950: '#000000',
  },
}
SCSS
$custom: #a12a7a;
$custom-light: #c16fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#a12a7a",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 122
  },
  "hsl": {
    "h": 319.664,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49698,
    "c": 0.17461,
    "h": 344.1
  },
  "luminance": 0.10638
}

Semantic roles & 50–950 ramp

primary
#A12A7A
secondary
#67C084
accent
#E27946
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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