#A12E7C#A12E7C

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

Color values

HEX#A12E7C
RGBrgb(161, 46, 124)
HSLhsl(319, 56%, 41%)
HSVhsv(319, 71%, 63%)
CMYKcmyk(0%, 71.4%, 23%, 36.9%)
CIE-LABlab(39.56, 54.47, -18.21)
CIE-LCHlch(39.56, 57.43, 341.51°)
OKLaboklab(50.16% 0.164 -0.0487)
OKLCHoklch(50.16% 0.171 343.5)
XYZxyz(19.3137, 10.9883, 20.1687)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E7C #2EA153
analogous
#8C2EA1 #A12E7C #A12E42
triadic
#A12E7C #7CA12E #2E7CA1
tetradic
#A12E7C #A18C2E #2EA153 #2E42A1
square
#A12E7C #A18C2E #2EA153 #2E42A1
split-complementary
#A12E7C #42A12E #2EA18C
monochromatic
#421333 #712057 #A12E7C #C9439E #D773B7

Accessibility & contrast

On white

6.57
#A12E7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A12E7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12E7C
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E7C#FFFFFF#000000##FFFFFF
##A12E7C1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517E
Deuteranopia (green-blind)
#5D6479
Tritanopia (blue-blind)
#AB2E51
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a12e7c;
/* rgb */ color: rgb(161, 46, 124);
/* oklch */ color: oklch(50.2% 0.171 343.5);
Tailwind
colors: {
  custom: {
    50: '#c071a2',
    500: '#a12e7c',
    950: '#000000',
  },
}
SCSS
$custom: #a12e7c;
$custom-light: #c071a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e7c",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 319.304,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50157,
    "c": 0.17105,
    "h": 343.5
  },
  "luminance": 0.10986
}

Semantic roles & 50–950 ramp

primary
#A12E7C
secondary
#6CBE87
accent
#DF7949
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A12E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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