#A12A8A#A12A8A

#A12A8A is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.185 H 337.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A12A8A
RGBrgb(161, 42, 138)
HSLhsl(312, 59%, 40%)
HSVhsv(312, 74%, 63%)
CMYKcmyk(0%, 73.9%, 14.3%, 36.9%)
CIE-LABlab(39.70, 57.88, -26.63)
CIE-LCHlch(39.70, 63.71, 335.29°)
OKLaboklab(50.47% 0.1704 -0.0724)
OKLCHoklch(50.47% 0.185 337)
XYZxyz(20.1137, 11.0698, 25.1172)
Luminance0.1107 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12A8A #2AA141
analogous
#7D2AA1 #A12A8A #A12A4E
triadic
#A12A8A #8AA12A #2A8AA1
tetradic
#A12A8A #A17D2A #2AA141 #2A4EA1
square
#A12A8A #A17D2A #2AA141 #2A4EA1
split-complementary
#A12A8A #4EA12A #2AA17D
monochromatic
#401137 #701D60 #A12A8A #CC3CB0 #D96DC4

Accessibility & contrast

On white

6.53
#A12A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A12A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12A8A
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12A8A#FFFFFF#000000##FFFFFF
##A12A8A1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528D
Deuteranopia (green-blind)
#566487
Tritanopia (blue-blind)
#AA3157
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a12a8a;
/* rgb */ color: rgb(161, 42, 138);
/* oklch */ color: oklch(50.5% 0.185 337.0);
Tailwind
colors: {
  custom: {
    50: '#c070ac',
    500: '#a12a8a',
    950: '#000000',
  },
}
SCSS
$custom: #a12a8a;
$custom-light: #c070ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a12a8a",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 311.597,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50465,
    "c": 0.18518,
    "h": 337
  },
  "luminance": 0.11068
}

Semantic roles & 50–950 ramp

primary
#A12A8A
secondary
#67C078
accent
#E26446
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A12A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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