#A12E7A#A12E7A

#A12E7A is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.170 H 344.4°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A12E7A
RGBrgb(161, 46, 122)
HSLhsl(320, 56%, 41%)
HSVhsv(320, 71%, 63%)
CMYKcmyk(0%, 71.4%, 24.2%, 36.9%)
CIE-LABlab(39.48, 54.20, -17.10)
CIE-LCHlch(39.48, 56.83, 342.49°)
OKLaboklab(50.07% 0.1636 -0.0456)
OKLCHoklch(50.07% 0.17 344.4)
XYZxyz(19.1885, 10.9382, 19.5093)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E7A #2EA155
analogous
#8E2EA1 #A12E7A #A12E40
triadic
#A12E7A #7AA12E #2E7AA1
tetradic
#A12E7A #A18E2E #2EA155 #2E40A1
square
#A12E7A #A18E2E #2EA155 #2E40A1
split-complementary
#A12E7A #40A12E #2EA18E
monochromatic
#421332 #712056 #A12E7A #C9439C #D773B5

Accessibility & contrast

On white

6.59
#A12E7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A12E7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12E7A
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E7A#FFFFFF#000000##FFFFFF
##A12E7A1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517C
Deuteranopia (green-blind)
#5D6477
Tritanopia (blue-blind)
#AC2D50
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a12e7a;
/* rgb */ color: rgb(161, 46, 122);
/* oklch */ color: oklch(50.1% 0.170 344.4);
Tailwind
colors: {
  custom: {
    50: '#c171a0',
    500: '#a12e7a',
    950: '#000000',
  },
}
SCSS
$custom: #a12e7a;
$custom-light: #c171a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e7a",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 320.348,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50068,
    "c": 0.1698,
    "h": 344.4
  },
  "luminance": 0.10936
}

Semantic roles & 50–950 ramp

primary
#A12E7A
secondary
#6CBE88
accent
#DF7C49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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