#A12472#A12472

#A12472 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.177 H 347.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#A12472
RGBrgb(161, 36, 114)
HSLhsl(323, 63%, 39%)
HSVhsv(323, 78%, 63%)
CMYKcmyk(0%, 77.6%, 29.2%, 36.9%)
CIE-LABlab(37.94, 56.56, -14.46)
CIE-LCHlch(37.94, 58.38, 345.66°)
OKLaboklab(48.84% 0.1724 -0.0381)
OKLCHoklch(48.84% 0.177 347.5)
XYZxyz(18.3670, 10.0558, 16.8900)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12472 #24A153
analogous
#9124A1 #A12472 #A12433
triadic
#A12472 #72A124 #2472A1
tetradic
#A12472 #A19124 #24A153 #2433A1
square
#A12472 #A19124 #24A153 #2433A1
split-complementary
#A12472 #33A124 #24A191
monochromatic
#3D0E2B #6F194F #A12472 #D13195 #DC63AF

Accessibility & contrast

On white

6.97
#A12472 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#A12472 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12472
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12472#FFFFFF#000000##FFFFFF
##A124721.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374C74
Deuteranopia (green-blind)
#5C616F
Tritanopia (blue-blind)
#AD1E48
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a12472;
/* rgb */ color: rgb(161, 36, 114);
/* oklch */ color: oklch(48.8% 0.177 347.5);
Tailwind
colors: {
  custom: {
    50: '#c16c9a',
    500: '#a12472',
    950: '#000000',
  },
}
SCSS
$custom: #a12472;
$custom-light: #c16c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#a12472",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 114
  },
  "hsl": {
    "h": 322.56,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48843,
    "c": 0.17654,
    "h": 347.5
  },
  "luminance": 0.10054
}

Semantic roles & 50–950 ramp

primary
#A12472
secondary
#5FC284
accent
#E67F41
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #A12472

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

Preview Lab → · Contrast checker → · Palette generator →

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