#A12588#A12588

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

Color values

HEX#A12588
RGBrgb(161, 37, 136)
HSLhsl(312, 63%, 39%)
HSVhsv(312, 77%, 63%)
CMYKcmyk(0%, 77%, 15.5%, 36.9%)
CIE-LABlab(39.04, 59.20, -26.44)
CIE-LCHlch(39.04, 64.83, 335.94°)
OKLaboklab(49.96% 0.175 -0.0718)
OKLCHoklch(49.96% 0.189 337.7)
XYZxyz(19.8039, 10.6797, 24.3062)
Luminance0.1068 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12588 #25A13E
analogous
#7C25A1 #A12588 #A1254A
triadic
#A12588 #88A125 #2588A1
tetradic
#A12588 #A17C25 #25A13E #254AA1
square
#A12588 #A17C25 #25A13E #254AA1
split-complementary
#A12588 #4AA125 #25A17C
monochromatic
#3D0E34 #6F1A5E #A12588 #D033B0 #DC65C4

Accessibility & contrast

On white

6.70
#A12588 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A12588 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12588
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12588#FFFFFF#000000##FFFFFF
##A125881.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12588;
/* rgb */ color: rgb(161, 37, 136);
/* oklch */ color: oklch(50.0% 0.189 337.7);
Tailwind
colors: {
  custom: {
    50: '#c16dab',
    500: '#a12588',
    950: '#000000',
  },
}
SCSS
$custom: #a12588;
$custom-light: #c16dab;
$custom-dark: #000000;
JSON
{
  "hex": "#a12588",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 136
  },
  "hsl": {
    "h": 312.097,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49956,
    "c": 0.18921,
    "h": 337.7
  },
  "luminance": 0.10678
}

Semantic roles & 50–950 ramp

primary
#A12588
secondary
#61C174
accent
#E66342
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A12588

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

Preview Lab → · Contrast checker → · Palette generator →

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