#A12E72#A12E72

#A12E72 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.165 H 348.4°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A12E72
RGBrgb(161, 46, 114)
HSLhsl(325, 56%, 41%)
HSVhsv(325, 71%, 63%)
CMYKcmyk(0%, 71.4%, 29.2%, 36.9%)
CIE-LABlab(39.15, 53.15, -12.61)
CIE-LCHlch(39.15, 54.62, 346.65°)
OKLaboklab(49.73% 0.1617 -0.0331)
OKLCHoklch(49.73% 0.165 348.4)
XYZxyz(18.7131, 10.7480, 17.0054)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E72 #2EA15D
analogous
#972EA1 #A12E72 #A12E38
triadic
#A12E72 #72A12E #2E72A1
tetradic
#A12E72 #A1972E #2EA15D #2E38A1
square
#A12E72 #A1972E #2EA15D #2E38A1
split-complementary
#A12E72 #38A12E #2EA197
monochromatic
#42132F #712050 #A12E72 #C94392 #D773AE

Accessibility & contrast

On white

6.67
#A12E72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A12E72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12E72
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E72#FFFFFF#000000##FFFFFF
##A12E721.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F74
Deuteranopia (green-blind)
#60646F
Tritanopia (blue-blind)
#AD294C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a12e72;
/* rgb */ color: rgb(161, 46, 114);
/* oklch */ color: oklch(49.7% 0.165 348.4);
Tailwind
colors: {
  custom: {
    50: '#c1709a',
    500: '#a12e72',
    950: '#000000',
  },
}
SCSS
$custom: #a12e72;
$custom-light: #c1709a;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e72",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 324.522,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49726,
    "c": 0.16509,
    "h": 348.4
  },
  "luminance": 0.10746
}

Semantic roles & 50–950 ramp

primary
#A12E72
secondary
#6CBE8E
accent
#DF8649
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12E72

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

Preview Lab → · Contrast checker → · Palette generator →

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