#A12C8A#A12C8A

#A12C8A is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.183 H 337.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A12C8A
RGBrgb(161, 44, 138)
HSLhsl(312, 57%, 40%)
HSVhsv(312, 73%, 63%)
CMYKcmyk(0%, 72.7%, 14.3%, 36.9%)
CIE-LABlab(39.94, 57.19, -26.25)
CIE-LCHlch(39.94, 62.93, 335.35°)
OKLaboklab(50.64% 0.1684 -0.0714)
OKLCHoklch(50.64% 0.183 337)
XYZxyz(20.1864, 11.2153, 25.1414)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12C8A #2CA143
analogous
#7D2CA1 #A12C8A #A12C4F
triadic
#A12C8A #8AA12C #2C8AA1
tetradic
#A12C8A #A17D2C #2CA143 #2C4FA1
square
#A12C8A #A17D2C #2CA143 #2C4FA1
split-complementary
#A12C8A #4FA12C #2CA17D
monochromatic
#411238 #711F61 #A12C8A #CB40AF #D870C3

Accessibility & contrast

On white

6.48
#A12C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A12C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12C8A
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12C8A#FFFFFF#000000##FFFFFF
##A12C8A1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538D
Deuteranopia (green-blind)
#576587
Tritanopia (blue-blind)
#AA3357
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12c8a;
/* rgb */ color: rgb(161, 44, 138);
/* oklch */ color: oklch(50.6% 0.183 337.0);
Tailwind
colors: {
  custom: {
    50: '#c070ac',
    500: '#a12c8a',
    950: '#000000',
  },
}
SCSS
$custom: #a12c8a;
$custom-light: #c070ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a12c8a",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 311.795,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50641,
    "c": 0.18288,
    "h": 337
  },
  "luminance": 0.11213
}

Semantic roles & 50–950 ramp

primary
#A12C8A
secondary
#6ABF7B
accent
#E06647
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A12C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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