#A12F78#A12F78

#A12F78 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.1% C 0.167 H 345.5°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A12F78
RGBrgb(161, 47, 120)
HSLhsl(322, 55%, 41%)
HSVhsv(322, 71%, 63%)
CMYKcmyk(0%, 70.8%, 25.5%, 36.9%)
CIE-LABlab(39.53, 53.55, -15.78)
CIE-LCHlch(39.53, 55.83, 343.58°)
OKLaboklab(50.08% 0.162 -0.0419)
OKLCHoklch(50.08% 0.167 345.5)
XYZxyz(19.1054, 10.9682, 18.8766)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12F78 #2FA158
analogous
#912FA1 #A12F78 #A12F3F
triadic
#A12F78 #78A12F #2F78A1
tetradic
#A12F78 #A1912F #2FA158 #2F3FA1
square
#A12F78 #A1912F #2FA158 #2F3FA1
split-complementary
#A12F78 #3FA12F #2FA191
monochromatic
#421331 #722155 #A12F78 #C94599 #D674B3

Accessibility & contrast

On white

6.58
#A12F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A12F78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12F78
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12F78#FFFFFF#000000##FFFFFF
##A12F781.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517A
Deuteranopia (green-blind)
#5E6475
Tritanopia (blue-blind)
#AC2D4F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a12f78;
/* rgb */ color: rgb(161, 47, 120);
/* oklch */ color: oklch(50.1% 0.167 345.5);
Tailwind
colors: {
  custom: {
    50: '#c1719f',
    500: '#a12f78',
    950: '#000000',
  },
}
SCSS
$custom: #a12f78;
$custom-light: #c1719f;
$custom-dark: #000000;
JSON
{
  "hex": "#a12f78",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 321.579,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50078,
    "c": 0.16731,
    "h": 345.5
  },
  "luminance": 0.10966
}

Semantic roles & 50–950 ramp

primary
#A12F78
secondary
#6EBE8B
accent
#DE7F4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12F78

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

Preview Lab → · Contrast checker → · Palette generator →

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