#A12889#A12889

#A12889 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.187 H 337.3°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A12889
RGBrgb(161, 40, 137)
HSLhsl(312, 60%, 39%)
HSVhsv(312, 75%, 63%)
CMYKcmyk(0%, 75.2%, 14.9%, 36.9%)
CIE-LABlab(39.42, 58.40, -26.46)
CIE-LCHlch(39.42, 64.11, 335.63°)
OKLaboklab(50.25% 0.1723 -0.0719)
OKLCHoklch(50.25% 0.187 337.3)
XYZxyz(19.9725, 10.9027, 24.7146)
Luminance0.1090 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12889 #28A140
analogous
#7D28A1 #A12889 #A1284D
triadic
#A12889 #89A128 #2889A1
tetradic
#A12889 #A17D28 #28A140 #284DA1
square
#A12889 #A17D28 #28A140 #284DA1
split-complementary
#A12889 #4DA128 #28A17D
monochromatic
#3F1036 #701C5F #A12889 #CE39B0 #DA6AC4

Accessibility & contrast

On white

6.60
#A12889 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A12889 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12889
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12889#FFFFFF#000000##FFFFFF
##A128891.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C518C
Deuteranopia (green-blind)
#566386
Tritanopia (blue-blind)
#AA2F56
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a12889;
/* rgb */ color: rgb(161, 40, 137);
/* oklch */ color: oklch(50.2% 0.187 337.3);
Tailwind
colors: {
  custom: {
    50: '#c16fab',
    500: '#a12889',
    950: '#000000',
  },
}
SCSS
$custom: #a12889;
$custom-light: #c16fab;
$custom-dark: #000000;
JSON
{
  "hex": "#a12889",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 311.901,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50246,
    "c": 0.18672,
    "h": 337.3
  },
  "luminance": 0.10901
}

Semantic roles & 50–950 ramp

primary
#A12889
secondary
#65C077
accent
#E36444
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A12889

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

Preview Lab → · Contrast checker → · Palette generator →

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