#A12E6D#A12E6D

#A12E6D is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.162 H 351.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A12E6D
RGBrgb(161, 46, 109)
HSLhsl(327, 56%, 41%)
HSVhsv(327, 71%, 63%)
CMYKcmyk(0%, 71.4%, 32.3%, 36.9%)
CIE-LABlab(38.96, 52.52, -9.77)
CIE-LCHlch(38.96, 53.43, 349.46°)
OKLaboklab(49.52% 0.1604 -0.0253)
OKLCHoklch(49.52% 0.162 351)
XYZxyz(18.4362, 10.6373, 15.5473)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E6D #2EA162
analogous
#9B2EA1 #A12E6D #A12E34
triadic
#A12E6D #6DA12E #2E6DA1
tetradic
#A12E6D #A19B2E #2EA162 #2E34A1
square
#A12E6D #A19B2E #2EA162 #2E34A1
split-complementary
#A12E6D #34A12E #2EA19B
monochromatic
#42132D #71204D #A12E6D #C9438D #D773A9

Accessibility & contrast

On white

6.72
#A12E6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12E6D
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E6D#FFFFFF#000000##FFFFFF
##A12E6D1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404F6F
Deuteranopia (green-blind)
#61636A
Tritanopia (blue-blind)
#AD2749
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a12e6d;
/* rgb */ color: rgb(161, 46, 109);
/* oklch */ color: oklch(49.5% 0.162 351.0);
Tailwind
colors: {
  custom: {
    50: '#c17096',
    500: '#a12e6d',
    950: '#000000',
  },
}
SCSS
$custom: #a12e6d;
$custom-light: #c17096;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e6d",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 109
  },
  "hsl": {
    "h": 327.13,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49524,
    "c": 0.16241,
    "h": 351
  },
  "luminance": 0.10635
}

Semantic roles & 50–950 ramp

primary
#A12E6D
secondary
#6CBE91
accent
#DF8D49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A12E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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