#A12688#A12688

#A12688 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 50.0% C 0.188 H 337.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A12688
RGBrgb(161, 38, 136)
HSLhsl(312, 62%, 39%)
HSVhsv(312, 76%, 63%)
CMYKcmyk(0%, 76.4%, 15.5%, 36.9%)
CIE-LABlab(39.14, 58.89, -26.27)
CIE-LCHlch(39.14, 64.48, 335.96°)
OKLaboklab(50.03% 0.1741 -0.0714)
OKLCHoklch(50.03% 0.188 337.7)
XYZxyz(19.8354, 10.7428, 24.3167)
Luminance0.1074 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12688 #26A13F
analogous
#7D26A1 #A12688 #A1264B
triadic
#A12688 #88A126 #2688A1
tetradic
#A12688 #A17D26 #26A13F #264BA1
square
#A12688 #A17D26 #26A13F #264BA1
split-complementary
#A12688 #4BA126 #26A17D
monochromatic
#3E0F34 #6F1A5E #A12688 #CF35B0 #DB66C3

Accessibility & contrast

On white

6.67
#A12688 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A12688 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12688
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12688#FFFFFF#000000##FFFFFF
##A126881.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B508B
Deuteranopia (green-blind)
#556385
Tritanopia (blue-blind)
#AA2D55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a12688;
/* rgb */ color: rgb(161, 38, 136);
/* oklch */ color: oklch(50.0% 0.188 337.7);
Tailwind
colors: {
  custom: {
    50: '#c16eab',
    500: '#a12688',
    950: '#000000',
  },
}
SCSS
$custom: #a12688;
$custom-light: #c16eab;
$custom-dark: #000000;
JSON
{
  "hex": "#a12688",
  "rgb": {
    "r": 161,
    "g": 38,
    "b": 136
  },
  "hsl": {
    "h": 312.195,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50034,
    "c": 0.18817,
    "h": 337.7
  },
  "luminance": 0.10741
}

Semantic roles & 50–950 ramp

primary
#A12688
secondary
#62C175
accent
#E56443
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A12688

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

Preview Lab → · Contrast checker → · Palette generator →

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