#A12C7D#A12C7D

#A12C7D is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.174 H 342.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#A12C7D
RGBrgb(161, 44, 125)
HSLhsl(318, 57%, 40%)
HSVhsv(318, 73%, 63%)
CMYKcmyk(0%, 72.7%, 22.4%, 36.9%)
CIE-LABlab(39.35, 55.33, -19.16)
CIE-LCHlch(39.35, 58.56, 340.90°)
OKLaboklab(50.02% 0.1664 -0.0513)
OKLCHoklch(50.02% 0.174 342.9)
XYZxyz(19.3010, 10.8611, 20.4780)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12C7D #2CA150
analogous
#8B2CA1 #A12C7D #A12C42
triadic
#A12C7D #7DA12C #2C7DA1
tetradic
#A12C7D #A18B2C #2CA150 #2C42A1
square
#A12C7D #A18B2C #2CA150 #2C42A1
split-complementary
#A12C7D #42A12C #2CA18B
monochromatic
#411232 #711F58 #A12C7D #CB40A0 #D870B8

Accessibility & contrast

On white

6.62
#A12C7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A12C7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12C7D
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12C7D#FFFFFF#000000##FFFFFF
##A12C7D1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37507F
Deuteranopia (green-blind)
#5C647A
Tritanopia (blue-blind)
#AB2D51
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a12c7d;
/* rgb */ color: rgb(161, 44, 125);
/* oklch */ color: oklch(50.0% 0.174 342.9);
Tailwind
colors: {
  custom: {
    50: '#c170a2',
    500: '#a12c7d',
    950: '#000000',
  },
}
SCSS
$custom: #a12c7d;
$custom-light: #c170a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a12c7d",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 318.462,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50015,
    "c": 0.17412,
    "h": 342.9
  },
  "luminance": 0.10859
}

Semantic roles & 50–950 ramp

primary
#A12C7D
secondary
#6ABF84
accent
#E07747
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A12C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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