#A12C7E#A12C7E

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

Color values

HEX#A12C7E
RGBrgb(161, 44, 126)
HSLhsl(318, 57%, 40%)
HSVhsv(318, 73%, 63%)
CMYKcmyk(0%, 72.7%, 21.7%, 36.9%)
CIE-LABlab(39.39, 55.47, -19.72)
CIE-LCHlch(39.39, 58.87, 340.43°)
OKLaboklab(50.06% 0.1666 -0.0529)
OKLCHoklch(50.06% 0.175 342.4)
XYZxyz(19.3652, 10.8867, 20.8161)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12C7E #2CA14F
analogous
#8A2CA1 #A12C7E #A12C43
triadic
#A12C7E #7EA12C #2C7EA1
tetradic
#A12C7E #A18A2C #2CA14F #2C43A1
square
#A12C7E #A18A2C #2CA14F #2C43A1
split-complementary
#A12C7E #43A12C #2CA18A
monochromatic
#411233 #711F58 #A12C7E #CB40A1 #D870B9

Accessibility & contrast

On white

6.61
#A12C7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A12C7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12C7E
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12C7E#FFFFFF#000000##FFFFFF
##A12C7E1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375180
Deuteranopia (green-blind)
#5B647B
Tritanopia (blue-blind)
#AB2D51
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a12c7e;
/* rgb */ color: rgb(161, 44, 126);
/* oklch */ color: oklch(50.1% 0.175 342.4);
Tailwind
colors: {
  custom: {
    50: '#c170a3',
    500: '#a12c7e',
    950: '#000000',
  },
}
SCSS
$custom: #a12c7e;
$custom-light: #c170a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a12c7e",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 317.949,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50061,
    "c": 0.17477,
    "h": 342.4
  },
  "luminance": 0.10885
}

Semantic roles & 50–950 ramp

primary
#A12C7E
secondary
#6ABF83
accent
#E07547
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A12C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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