#A12A79#A12A79

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

Color values

HEX#A12A79
RGBrgb(161, 42, 121)
HSLhsl(320, 59%, 40%)
HSVhsv(320, 74%, 63%)
CMYKcmyk(0%, 73.9%, 24.8%, 36.9%)
CIE-LABlab(38.93, 55.49, -17.33)
CIE-LCHlch(38.93, 58.14, 342.66°)
OKLaboklab(49.65% 0.1678 -0.0461)
OKLCHoklch(49.65% 0.174 344.6)
XYZxyz(18.9779, 10.6155, 19.1350)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12A79 #2AA152
analogous
#8E2AA1 #A12A79 #A12A3E
triadic
#A12A79 #79A12A #2A79A1
tetradic
#A12A79 #A18E2A #2AA152 #2A3EA1
square
#A12A79 #A18E2A #2AA152 #2A3EA1
split-complementary
#A12A79 #3EA12A #2AA18E
monochromatic
#401130 #701D55 #A12A79 #CC3C9C #D96DB4

Accessibility & contrast

On white

6.73
#A12A79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A12A79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12A79
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12A79#FFFFFF#000000##FFFFFF
##A12A791.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384F7B
Deuteranopia (green-blind)
#5C6376
Tritanopia (blue-blind)
#AC294E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a12a79;
/* rgb */ color: rgb(161, 42, 121);
/* oklch */ color: oklch(49.7% 0.174 344.6);
Tailwind
colors: {
  custom: {
    50: '#c16f9f',
    500: '#a12a79',
    950: '#000000',
  },
}
SCSS
$custom: #a12a79;
$custom-light: #c16f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a12a79",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 320.168,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49653,
    "c": 0.174,
    "h": 344.6
  },
  "luminance": 0.10613
}

Semantic roles & 50–950 ramp

primary
#A12A79
secondary
#67C085
accent
#E27A46
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12A79

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

Preview Lab → · Contrast checker → · Palette generator →

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