#A12E5C#A12E5C

#A12E5C is a mid, vivid pink. Relative luminance 0.103; OKLCH L 48.9% C 0.155 H 0.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#A12E5C
RGBrgb(161, 46, 92)
HSLhsl(336, 56%, 41%)
HSVhsv(336, 71%, 63%)
CMYKcmyk(0%, 71.4%, 42.9%, 36.9%)
CIE-LABlab(38.39, 50.61, 0.10)
CIE-LCHlch(38.39, 50.61, 0.11°)
OKLaboklab(48.91% 0.1551 0.0009)
OKLCHoklch(48.91% 0.155 0.3)
XYZxyz(17.6080, 10.3060, 11.1852)
Luminance0.1030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E5C #2EA173
analogous
#A12E95 #A12E5C #A1392E
triadic
#A12E5C #5CA12E #2E5CA1
tetradic
#A12E5C #95A12E #2EA173 #392EA1
square
#A12E5C #95A12E #2EA173 #392EA1
split-complementary
#A12E5C #2EA139 #2E95A1
monochromatic
#421326 #712041 #A12E5C #C94379 #D7739B

Accessibility & contrast

On white

6.86
#A12E5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A12E5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12E5C
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E5C#FFFFFF#000000##FFFFFF
##A12E5C1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464C5D
Deuteranopia (green-blind)
#656259
Tritanopia (blue-blind)
#AF1E41
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12e5c;
/* rgb */ color: rgb(161, 46, 92);
/* oklch */ color: oklch(48.9% 0.155 0.3);
Tailwind
colors: {
  custom: {
    50: '#c2708a',
    500: '#a12e5c',
    950: '#000000',
  },
}
SCSS
$custom: #a12e5c;
$custom-light: #c2708a;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e5c",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 92
  },
  "hsl": {
    "h": 336,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48911,
    "c": 0.1551,
    "h": 0.3
  },
  "luminance": 0.10304
}

Semantic roles & 50–950 ramp

primary
#A12E5C
secondary
#6CBE9E
accent
#DFA349
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A12E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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