#A12F84#A12F84

#A12F84 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.175 H 339.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A12F84
RGBrgb(161, 47, 132)
HSLhsl(315, 55%, 41%)
HSVhsv(315, 71%, 63%)
CMYKcmyk(0%, 70.8%, 18%, 36.9%)
CIE-LABlab(40.04, 55.23, -22.41)
CIE-LCHlch(40.04, 59.60, 337.92°)
OKLaboklab(50.63% 0.1643 -0.0605)
OKLCHoklch(50.63% 0.175 339.8)
XYZxyz(19.8798, 11.2779, 22.9552)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12F84 #2FA14C
analogous
#852FA1 #A12F84 #A12F4B
triadic
#A12F84 #84A12F #2F84A1
tetradic
#A12F84 #A1852F #2FA14C #2F4BA1
square
#A12F84 #A1852F #2FA14C #2F4BA1
split-complementary
#A12F84 #4BA12F #2FA185
monochromatic
#421336 #72215D #A12F84 #C945A7 #D674BD

Accessibility & contrast

On white

6.45
#A12F84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A12F84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12F84
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12F84#FFFFFF#000000##FFFFFF
##A12F841.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365386
Deuteranopia (green-blind)
#5A6581
Tritanopia (blue-blind)
#AA3355
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12f84;
/* rgb */ color: rgb(161, 47, 132);
/* oklch */ color: oklch(50.6% 0.175 339.8);
Tailwind
colors: {
  custom: {
    50: '#c072a8',
    500: '#a12f84',
    950: '#000000',
  },
}
SCSS
$custom: #a12f84;
$custom-light: #c072a8;
$custom-dark: #000000;
JSON
{
  "hex": "#a12f84",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 315.263,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50625,
    "c": 0.17507,
    "h": 339.8
  },
  "luminance": 0.11276
}

Semantic roles & 50–950 ramp

primary
#A12F84
secondary
#6EBE82
accent
#DE6F4A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A12F84

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

Preview Lab → · Contrast checker → · Palette generator →

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