#A12F89#A12F89

#A12F89 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.9% C 0.179 H 337.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A12F89
RGBrgb(161, 47, 137)
HSLhsl(313, 55%, 41%)
HSVhsv(313, 71%, 63%)
CMYKcmyk(0%, 70.8%, 14.9%, 36.9%)
CIE-LABlab(40.28, 55.96, -25.11)
CIE-LCHlch(40.28, 61.34, 335.83°)
OKLaboklab(50.87% 0.165 -0.0682)
OKLCHoklch(50.87% 0.179 337.6)
XYZxyz(20.2302, 11.4181, 24.8005)
Luminance0.1142 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12F89 #2FA147
analogous
#802FA1 #A12F89 #A12F50
triadic
#A12F89 #89A12F #2F89A1
tetradic
#A12F89 #A1802F #2FA147 #2F50A1
square
#A12F89 #A1802F #2FA147 #2F50A1
split-complementary
#A12F89 #50A12F #2FA180
monochromatic
#421338 #722161 #A12F89 #C945AD #D674C2

Accessibility & contrast

On white

6.40
#A12F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A12F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12F89
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12F89#FFFFFF#000000##FFFFFF
##A12F891.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548C
Deuteranopia (green-blind)
#586586
Tritanopia (blue-blind)
#AA3558
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a12f89;
/* rgb */ color: rgb(161, 47, 137);
/* oklch */ color: oklch(50.9% 0.179 337.6);
Tailwind
colors: {
  custom: {
    50: '#c072ab',
    500: '#a12f89',
    950: '#000000',
  },
}
SCSS
$custom: #a12f89;
$custom-light: #c072ab;
$custom-dark: #000000;
JSON
{
  "hex": "#a12f89",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 312.632,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50868,
    "c": 0.17854,
    "h": 337.6
  },
  "luminance": 0.11416
}

Semantic roles & 50–950 ramp

primary
#A12F89
secondary
#6EBE7F
accent
#DE694A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A12F89

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

Preview Lab → · Contrast checker → · Palette generator →

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