#A12E52#A12E52

#A12E52 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.6% C 0.152 H 6.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#A12E52
RGBrgb(161, 46, 82)
HSLhsl(341, 56%, 41%)
HSVhsv(341, 71%, 63%)
CMYKcmyk(0%, 71.4%, 49.1%, 36.9%)
CIE-LABlab(38.10, 49.63, 6.04)
CIE-LCHlch(38.10, 50.00, 6.94°)
OKLaboklab(48.6% 0.1515 0.0159)
OKLCHoklch(48.6% 0.152 6)
XYZxyz(17.1993, 10.1425, 9.0330)
Luminance0.1014 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E52 #2EA17D
analogous
#A12E8C #A12E52 #A1432E
triadic
#A12E52 #52A12E #2E52A1
tetradic
#A12E52 #8CA12E #2EA17D #432EA1
square
#A12E52 #8CA12E #2EA17D #432EA1
split-complementary
#A12E52 #2EA143 #2E8CA1
monochromatic
#421322 #71203A #A12E52 #C9436D #D77392

Accessibility & contrast

On white

6.94
#A12E52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#A12E52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12E52
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E52#FFFFFF#000000##FFFFFF
##A12E521.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494B53
Deuteranopia (green-blind)
#67624F
Tritanopia (blue-blind)
#AF193D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12e52;
/* rgb */ color: rgb(161, 46, 82);
/* oklch */ color: oklch(48.6% 0.152 6.0);
Tailwind
colors: {
  custom: {
    50: '#c27082',
    500: '#a12e52',
    950: '#000000',
  },
}
SCSS
$custom: #a12e52;
$custom-light: #c27082;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e52",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 341.217,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48603,
    "c": 0.15228,
    "h": 6
  },
  "luminance": 0.1014
}

Semantic roles & 50–950 ramp

primary
#A12E52
secondary
#6CBEA5
accent
#DFB049
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #A12E52

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

Preview Lab → · Contrast checker → · Palette generator →

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