#A12E5A#A12E5A

#A12E5A is a mid, vivid pink. Relative luminance 0.103; OKLCH L 48.8% C 0.154 H 1.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A12E5A
RGBrgb(161, 46, 90)
HSLhsl(337, 56%, 41%)
HSVhsv(337, 71%, 63%)
CMYKcmyk(0%, 71.4%, 44.1%, 36.9%)
CIE-LABlab(38.33, 50.40, 1.28)
CIE-LCHlch(38.33, 50.42, 1.46°)
OKLaboklab(48.85% 0.1544 0.0039)
OKLCHoklch(48.85% 0.154 1.4)
XYZxyz(17.5217, 10.2715, 10.7308)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E5A #2EA175
analogous
#A12E94 #A12E5A #A13B2E
triadic
#A12E5A #5AA12E #2E5AA1
tetradic
#A12E5A #94A12E #2EA175 #3B2EA1
square
#A12E5A #94A12E #2EA175 #3B2EA1
split-complementary
#A12E5A #2EA13B #2E94A1
monochromatic
#421325 #71203F #A12E5A #C94376 #D77399

Accessibility & contrast

On white

6.88
#A12E5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A12E5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12E5A
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E5A#FFFFFF#000000##FFFFFF
##A12E5A1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464C5B
Deuteranopia (green-blind)
#656257
Tritanopia (blue-blind)
#AF1D40
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12e5a;
/* rgb */ color: rgb(161, 46, 90);
/* oklch */ color: oklch(48.8% 0.154 1.4);
Tailwind
colors: {
  custom: {
    50: '#c27088',
    500: '#a12e5a',
    950: '#000000',
  },
}
SCSS
$custom: #a12e5a;
$custom-light: #c27088;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e5a",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 90
  },
  "hsl": {
    "h": 337.043,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48847,
    "c": 0.15445,
    "h": 1.4
  },
  "luminance": 0.10269
}

Semantic roles & 50–950 ramp

primary
#A12E5A
secondary
#6CBE9F
accent
#DFA649
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A12E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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