#A12E54#A12E54

#A12E54 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.7% C 0.153 H 4.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#A12E54
RGBrgb(161, 46, 84)
HSLhsl(340, 56%, 41%)
HSVhsv(340, 71%, 63%)
CMYKcmyk(0%, 71.4%, 47.8%, 36.9%)
CIE-LABlab(38.15, 49.82, 4.85)
CIE-LCHlch(38.15, 50.05, 5.56°)
OKLaboklab(48.66% 0.1522 0.0129)
OKLCHoklch(48.66% 0.153 4.8)
XYZxyz(17.2766, 10.1734, 9.4397)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E54 #2EA17B
analogous
#A12E8D #A12E54 #A1412E
triadic
#A12E54 #54A12E #2E54A1
tetradic
#A12E54 #8DA12E #2EA17B #412EA1
square
#A12E54 #8DA12E #2EA17B #412EA1
split-complementary
#A12E54 #2EA141 #2E8DA1
monochromatic
#421322 #71203B #A12E54 #C9436F #D77394

Accessibility & contrast

On white

6.92
#A12E54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12E54
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E54#FFFFFF#000000##FFFFFF
##A12E541.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484B55
Deuteranopia (green-blind)
#666251
Tritanopia (blue-blind)
#AF1A3E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12e54;
/* rgb */ color: rgb(161, 46, 84);
/* oklch */ color: oklch(48.7% 0.153 4.8);
Tailwind
colors: {
  custom: {
    50: '#c27083',
    500: '#a12e54',
    950: '#000000',
  },
}
SCSS
$custom: #a12e54;
$custom-light: #c27083;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e54",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 84
  },
  "hsl": {
    "h": 340.174,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48662,
    "c": 0.15276,
    "h": 4.8
  },
  "luminance": 0.10171
}

Semantic roles & 50–950 ramp

primary
#A12E54
secondary
#6CBEA3
accent
#DFAD49
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080A
muted
#827B7C

Preview Lab

Preview with #A12E54

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

Preview Lab → · Contrast checker → · Palette generator →

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