#A12D7F#A12D7F

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

Color values

HEX#A12D7F
RGBrgb(161, 45, 127)
HSLhsl(318, 56%, 40%)
HSVhsv(318, 72%, 63%)
CMYKcmyk(0%, 72%, 21.1%, 36.9%)
CIE-LABlab(39.56, 55.25, -20.07)
CIE-LCHlch(39.56, 58.78, 340.03°)
OKLaboklab(50.2% 0.1657 -0.0539)
OKLCHoklch(50.2% 0.174 342)
XYZxyz(19.4677, 10.9881, 21.1702)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12D7F #2DA14F
analogous
#892DA1 #A12D7F #A12D45
triadic
#A12D7F #7FA12D #2D7FA1
tetradic
#A12D7F #A1892D #2DA14F #2D45A1
square
#A12D7F #A1892D #2DA14F #2D45A1
split-complementary
#A12D7F #45A12D #2DA189
monochromatic
#411234 #712059 #A12D7F #CA41A2 #D771B9

Accessibility & contrast

On white

6.57
#A12D7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12D7F
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12D7F#FFFFFF#000000##FFFFFF
##A12D7F1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375181
Deuteranopia (green-blind)
#5B647C
Tritanopia (blue-blind)
#AB2E52
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a12d7f;
/* rgb */ color: rgb(161, 45, 127);
/* oklch */ color: oklch(50.2% 0.174 342.0);
Tailwind
colors: {
  custom: {
    50: '#c070a4',
    500: '#a12d7f',
    950: '#000000',
  },
}
SCSS
$custom: #a12d7f;
$custom-light: #c070a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a12d7f",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 127
  },
  "hsl": {
    "h": 317.586,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.502,
    "c": 0.1742,
    "h": 342
  },
  "luminance": 0.10986
}

Semantic roles & 50–950 ramp

primary
#A12D7F
secondary
#6BBF84
accent
#E07548
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A12D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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