#A12D7E#A12D7E

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

Color values

HEX#A12D7E
RGBrgb(161, 45, 126)
HSLhsl(318, 56%, 40%)
HSVhsv(318, 72%, 63%)
CMYKcmyk(0%, 72%, 21.7%, 36.9%)
CIE-LABlab(39.52, 55.11, -19.52)
CIE-LCHlch(39.52, 58.47, 340.50°)
OKLaboklab(50.15% 0.1655 -0.0523)
OKLCHoklch(50.15% 0.174 342.5)
XYZxyz(19.4029, 10.9621, 20.8287)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12D7E #2DA150
analogous
#8A2DA1 #A12D7E #A12D44
triadic
#A12D7E #7EA12D #2D7EA1
tetradic
#A12D7E #A18A2D #2DA150 #2D44A1
square
#A12D7E #A18A2D #2DA150 #2D44A1
split-complementary
#A12D7E #44A12D #2DA18A
monochromatic
#411233 #712059 #A12D7E #CA41A1 #D771B8

Accessibility & contrast

On white

6.58
#A12D7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A12D7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12D7E
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12D7E#FFFFFF#000000##FFFFFF
##A12D7E1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385180
Deuteranopia (green-blind)
#5C647B
Tritanopia (blue-blind)
#AB2E51
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a12d7e;
/* rgb */ color: rgb(161, 45, 126);
/* oklch */ color: oklch(50.2% 0.174 342.5);
Tailwind
colors: {
  custom: {
    50: '#c070a3',
    500: '#a12d7e',
    950: '#000000',
  },
}
SCSS
$custom: #a12d7e;
$custom-light: #c070a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a12d7e",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 318.103,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50154,
    "c": 0.17355,
    "h": 342.5
  },
  "luminance": 0.1096
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A12D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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