#A12F86#A12F86

#A12F86 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.176 H 338.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A12F86
RGBrgb(161, 47, 134)
HSLhsl(314, 55%, 41%)
HSVhsv(314, 71%, 63%)
CMYKcmyk(0%, 70.8%, 16.8%, 36.9%)
CIE-LABlab(40.14, 55.52, -23.49)
CIE-LCHlch(40.14, 60.28, 337.06°)
OKLaboklab(50.72% 0.1646 -0.0635)
OKLCHoklch(50.72% 0.176 338.9)
XYZxyz(20.0180, 11.3332, 23.6829)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12F86 #2FA14A
analogous
#832FA1 #A12F86 #A12F4D
triadic
#A12F86 #86A12F #2F86A1
tetradic
#A12F86 #A1832F #2FA14A #2F4DA1
square
#A12F86 #A1832F #2FA14A #2F4DA1
split-complementary
#A12F86 #4DA12F #2FA183
monochromatic
#421337 #72215F #A12F86 #C945A9 #D674BF

Accessibility & contrast

On white

6.43
#A12F86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A12F86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12F86
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12F86#FFFFFF#000000##FFFFFF
##A12F861.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355388
Deuteranopia (green-blind)
#596583
Tritanopia (blue-blind)
#AA3356
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a12f86;
/* rgb */ color: rgb(161, 47, 134);
/* oklch */ color: oklch(50.7% 0.176 338.9);
Tailwind
colors: {
  custom: {
    50: '#c072a9',
    500: '#a12f86',
    950: '#000000',
  },
}
SCSS
$custom: #a12f86;
$custom-light: #c072a9;
$custom-dark: #000000;
JSON
{
  "hex": "#a12f86",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 314.211,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50721,
    "c": 0.17644,
    "h": 338.9
  },
  "luminance": 0.11331
}

Semantic roles & 50–950 ramp

primary
#A12F86
secondary
#6EBE81
accent
#DE6D4A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A12F86

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

Preview Lab → · Contrast checker → · Palette generator →

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