#A12C85#A12C85

#A12C85 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.179 H 339.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A12C85
RGBrgb(161, 44, 133)
HSLhsl(314, 57%, 40%)
HSVhsv(314, 73%, 63%)
CMYKcmyk(0%, 72.7%, 17.4%, 36.9%)
CIE-LABlab(39.70, 56.46, -23.55)
CIE-LCHlch(39.70, 61.17, 337.36°)
OKLaboklab(50.39% 0.1677 -0.0637)
OKLCHoklch(50.39% 0.179 339.2)
XYZxyz(19.8327, 11.0738, 23.2787)
Luminance0.1107 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12C85 #2CA148
analogous
#822CA1 #A12C85 #A12C4A
triadic
#A12C85 #85A12C #2C85A1
tetradic
#A12C85 #A1822C #2CA148 #2C4AA1
square
#A12C85 #A1822C #2CA148 #2C4AA1
split-complementary
#A12C85 #4AA12C #2CA182
monochromatic
#411236 #711F5D #A12C85 #CB40A9 #D870BF

Accessibility & contrast

On white

6.53
#A12C85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A12C85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12C85
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12C85#FFFFFF#000000##FFFFFF
##A12C851.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335287
Deuteranopia (green-blind)
#596482
Tritanopia (blue-blind)
#AA3055
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12c85;
/* rgb */ color: rgb(161, 44, 133);
/* oklch */ color: oklch(50.4% 0.179 339.2);
Tailwind
colors: {
  custom: {
    50: '#c070a8',
    500: '#a12c85',
    950: '#000000',
  },
}
SCSS
$custom: #a12c85;
$custom-light: #c070a8;
$custom-dark: #000000;
JSON
{
  "hex": "#a12c85",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 314.359,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50393,
    "c": 0.1794,
    "h": 339.2
  },
  "luminance": 0.11072
}

Semantic roles & 50–950 ramp

primary
#A12C85
secondary
#6ABF7E
accent
#E06C47
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A12C85

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

Preview Lab → · Contrast checker → · Palette generator →

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