#A12B8A#A12B8A

#A12B8A is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.6% C 0.184 H 337.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A12B8A
RGBrgb(161, 43, 138)
HSLhsl(312, 58%, 40%)
HSVhsv(312, 73%, 63%)
CMYKcmyk(0%, 73.3%, 14.3%, 36.9%)
CIE-LABlab(39.82, 57.54, -26.44)
CIE-LCHlch(39.82, 63.32, 335.32°)
OKLaboklab(50.55% 0.1694 -0.0719)
OKLCHoklch(50.55% 0.184 337)
XYZxyz(20.1496, 11.1416, 25.1292)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12B8A #2BA142
analogous
#7D2BA1 #A12B8A #A12B4F
triadic
#A12B8A #8AA12B #2B8AA1
tetradic
#A12B8A #A17D2B #2BA142 #2B4FA1
square
#A12B8A #A17D2B #2BA142 #2B4FA1
split-complementary
#A12B8A #4FA12B #2BA17D
monochromatic
#401137 #711E61 #A12B8A #CB3EB0 #D86EC4

Accessibility & contrast

On white

6.51
#A12B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A12B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12B8A
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12B8A#FFFFFF#000000##FFFFFF
##A12B8A1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528D
Deuteranopia (green-blind)
#566487
Tritanopia (blue-blind)
#AA3257
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12b8a;
/* rgb */ color: rgb(161, 43, 138);
/* oklch */ color: oklch(50.6% 0.184 337.0);
Tailwind
colors: {
  custom: {
    50: '#c070ac',
    500: '#a12b8a',
    950: '#000000',
  },
}
SCSS
$custom: #a12b8a;
$custom-light: #c070ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a12b8a",
  "rgb": {
    "r": 161,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 311.695,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.50552,
    "c": 0.18405,
    "h": 337
  },
  "luminance": 0.1114
}

Semantic roles & 50–950 ramp

primary
#A12B8A
secondary
#69BF79
accent
#E16547
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A12B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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