#A12E6C#A12E6C

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

Color values

HEX#A12E6C
RGBrgb(161, 46, 108)
HSLhsl(328, 56%, 41%)
HSVhsv(328, 71%, 63%)
CMYKcmyk(0%, 71.4%, 32.9%, 36.9%)
CIE-LABlab(38.93, 52.40, -9.20)
CIE-LCHlch(38.93, 53.20, 350.04°)
OKLaboklab(49.49% 0.1601 -0.0238)
OKLCHoklch(49.49% 0.162 351.5)
XYZxyz(18.3827, 10.6159, 15.2654)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E6C #2EA163
analogous
#9C2EA1 #A12E6C #A12E32
triadic
#A12E6C #6CA12E #2E6CA1
tetradic
#A12E6C #A19C2E #2EA163 #2E32A1
square
#A12E6C #A19C2E #2EA163 #2E32A1
split-complementary
#A12E6C #32A12E #2EA19C
monochromatic
#42132C #71204C #A12E6C #C9438B #D773A9

Accessibility & contrast

On white

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

On black

3.12
#A12E6C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A12E6C#FFFFFF#000000##FFFFFF
##A12E6C1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414E6E
Deuteranopia (green-blind)
#616369
Tritanopia (blue-blind)
#AD2649
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a12e6c;
/* rgb */ color: rgb(161, 46, 108);
/* oklch */ color: oklch(49.5% 0.162 351.5);
Tailwind
colors: {
  custom: {
    50: '#c17096',
    500: '#a12e6c',
    950: '#000000',
  },
}
SCSS
$custom: #a12e6c;
$custom-light: #c17096;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e6c",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 108
  },
  "hsl": {
    "h": 327.652,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49485,
    "c": 0.1619,
    "h": 351.5
  },
  "luminance": 0.10614
}

Semantic roles & 50–950 ramp

primary
#A12E6C
secondary
#6CBE92
accent
#DF8E49
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A12E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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