#A12D71#A12D71

#A12D71 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.166 H 348.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A12D71
RGBrgb(161, 45, 113)
HSLhsl(325, 56%, 40%)
HSVhsv(325, 72%, 63%)
CMYKcmyk(0%, 72%, 29.8%, 36.9%)
CIE-LABlab(38.98, 53.39, -12.25)
CIE-LCHlch(38.98, 54.78, 347.08°)
OKLaboklab(49.59% 0.1626 -0.0321)
OKLCHoklch(49.59% 0.166 348.8)
XYZxyz(18.6179, 10.6482, 16.6944)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12D71 #2DA15D
analogous
#972DA1 #A12D71 #A12D37
triadic
#A12D71 #71A12D #2D71A1
tetradic
#A12D71 #A1972D #2DA15D #2D37A1
square
#A12D71 #A1972D #2DA15D #2D37A1
split-complementary
#A12D71 #37A12D #2DA197
monochromatic
#41122E #71204F #A12D71 #CA4191 #D771AD

Accessibility & contrast

On white

6.71
#A12D71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A12D71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12D71
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12D71#FFFFFF#000000##FFFFFF
##A12D711.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F73
Deuteranopia (green-blind)
#60636E
Tritanopia (blue-blind)
#AD284B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a12d71;
/* rgb */ color: rgb(161, 45, 113);
/* oklch */ color: oklch(49.6% 0.166 348.8);
Tailwind
colors: {
  custom: {
    50: '#c17099',
    500: '#a12d71',
    950: '#000000',
  },
}
SCSS
$custom: #a12d71;
$custom-light: #c17099;
$custom-dark: #000000;
JSON
{
  "hex": "#a12d71",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 324.828,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49588,
    "c": 0.16577,
    "h": 348.8
  },
  "luminance": 0.10646
}

Semantic roles & 50–950 ramp

primary
#A12D71
secondary
#6BBF8E
accent
#E08748
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12D71

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

Preview Lab → · Contrast checker → · Palette generator →

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