#A12A78#A12A78

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

Color values

HEX#A12A78
RGBrgb(161, 42, 120)
HSLhsl(321, 59%, 40%)
HSVhsv(321, 74%, 63%)
CMYKcmyk(0%, 73.9%, 25.5%, 36.9%)
CIE-LABlab(38.88, 55.36, -16.77)
CIE-LCHlch(38.88, 57.85, 343.15°)
OKLaboklab(49.61% 0.1676 -0.0446)
OKLCHoklch(49.61% 0.173 345.1)
XYZxyz(18.9169, 10.5911, 18.8137)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12A78 #2AA153
analogous
#8E2AA1 #A12A78 #A12A3D
triadic
#A12A78 #78A12A #2A78A1
tetradic
#A12A78 #A18E2A #2AA153 #2A3DA1
square
#A12A78 #A18E2A #2AA153 #2A3DA1
split-complementary
#A12A78 #3DA12A #2AA18E
monochromatic
#401130 #701D54 #A12A78 #CC3C9B #D96DB4

Accessibility & contrast

On white

6.74
#A12A78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12A78
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12A78#FFFFFF#000000##FFFFFF
##A12A781.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384F7A
Deuteranopia (green-blind)
#5C6375
Tritanopia (blue-blind)
#AC284D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a12a78;
/* rgb */ color: rgb(161, 42, 120);
/* oklch */ color: oklch(49.6% 0.173 345.1);
Tailwind
colors: {
  custom: {
    50: '#c16f9f',
    500: '#a12a78',
    950: '#000000',
  },
}
SCSS
$custom: #a12a78;
$custom-light: #c16f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a12a78",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 320.672,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49609,
    "c": 0.17339,
    "h": 345.1
  },
  "luminance": 0.10589
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A12A78

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

Preview Lab → · Contrast checker → · Palette generator →

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