#A12F85#A12F85

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

Color values

HEX#A12F85
RGBrgb(161, 47, 133)
HSLhsl(315, 55%, 41%)
HSVhsv(315, 71%, 63%)
CMYKcmyk(0%, 70.8%, 17.4%, 36.9%)
CIE-LABlab(40.09, 55.37, -22.95)
CIE-LCHlch(40.09, 59.94, 337.49°)
OKLaboklab(50.67% 0.1644 -0.062)
OKLCHoklch(50.67% 0.176 339.3)
XYZxyz(19.9486, 11.3054, 23.3173)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12F85 #2FA14B
analogous
#842FA1 #A12F85 #A12F4C
triadic
#A12F85 #85A12F #2F85A1
tetradic
#A12F85 #A1842F #2FA14B #2F4CA1
square
#A12F85 #A1842F #2FA14B #2F4CA1
split-complementary
#A12F85 #4CA12F #2FA184
monochromatic
#421337 #72215E #A12F85 #C945A8 #D674BE

Accessibility & contrast

On white

6.44
#A12F85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12F85
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12F85#FFFFFF#000000##FFFFFF
##A12F851.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355387
Deuteranopia (green-blind)
#5A6582
Tritanopia (blue-blind)
#AA3356
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12f85;
/* rgb */ color: rgb(161, 47, 133);
/* oklch */ color: oklch(50.7% 0.176 339.3);
Tailwind
colors: {
  custom: {
    50: '#c072a8',
    500: '#a12f85',
    950: '#000000',
  },
}
SCSS
$custom: #a12f85;
$custom-light: #c072a8;
$custom-dark: #000000;
JSON
{
  "hex": "#a12f85",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 314.737,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50673,
    "c": 0.17574,
    "h": 339.3
  },
  "luminance": 0.11304
}

Semantic roles & 50–950 ramp

primary
#A12F85
secondary
#6EBE81
accent
#DE6E4A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A12F85

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

Preview Lab → · Contrast checker → · Palette generator →

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