#A12F7A#A12F7A

#A12F7A is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.169 H 344.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A12F7A
RGBrgb(161, 47, 122)
HSLhsl(321, 55%, 41%)
HSVhsv(321, 71%, 63%)
CMYKcmyk(0%, 70.8%, 24.2%, 36.9%)
CIE-LABlab(39.61, 53.82, -16.90)
CIE-LCHlch(39.61, 56.41, 342.57°)
OKLaboklab(50.17% 0.1624 -0.045)
OKLCHoklch(50.17% 0.169 344.5)
XYZxyz(19.2280, 11.0172, 19.5225)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12F7A #2FA156
analogous
#8F2FA1 #A12F7A #A12F41
triadic
#A12F7A #7AA12F #2F7AA1
tetradic
#A12F7A #A18F2F #2FA156 #2F41A1
square
#A12F7A #A18F2F #2FA156 #2F41A1
split-complementary
#A12F7A #41A12F #2FA18F
monochromatic
#421332 #722156 #A12F7A #C9459B #D674B5

Accessibility & contrast

On white

6.56
#A12F7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A12F7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12F7A
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12F7A#FFFFFF#000000##FFFFFF
##A12F7A1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12f7a;
/* rgb */ color: rgb(161, 47, 122);
/* oklch */ color: oklch(50.2% 0.169 344.5);
Tailwind
colors: {
  custom: {
    50: '#c071a0',
    500: '#a12f7a',
    950: '#000000',
  },
}
SCSS
$custom: #a12f7a;
$custom-light: #c071a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a12f7a",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 122
  },
  "hsl": {
    "h": 320.526,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50165,
    "c": 0.16854,
    "h": 344.5
  },
  "luminance": 0.11015
}

Semantic roles & 50–950 ramp

primary
#A12F7A
secondary
#6EBE89
accent
#DE7C4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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