#A12B79#A12B79

#A12B79 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.173 H 344.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A12B79
RGBrgb(161, 43, 121)
HSLhsl(320, 58%, 40%)
HSVhsv(320, 73%, 63%)
CMYKcmyk(0%, 73.3%, 24.8%, 36.9%)
CIE-LABlab(39.05, 55.15, -17.14)
CIE-LCHlch(39.05, 57.75, 342.74°)
OKLaboklab(49.74% 0.1667 -0.0456)
OKLCHoklch(49.74% 0.173 344.7)
XYZxyz(19.0138, 10.6873, 19.1470)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12B79 #2BA153
analogous
#8E2BA1 #A12B79 #A12B3E
triadic
#A12B79 #79A12B #2B79A1
tetradic
#A12B79 #A18E2B #2BA153 #2B3EA1
square
#A12B79 #A18E2B #2BA153 #2B3EA1
split-complementary
#A12B79 #3EA12B #2BA18E
monochromatic
#401130 #711E55 #A12B79 #CB3E9B #D86EB4

Accessibility & contrast

On white

6.69
#A12B79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A12B79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12B79
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12B79#FFFFFF#000000##FFFFFF
##A12B791.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394F7B
Deuteranopia (green-blind)
#5C6376
Tritanopia (blue-blind)
#AC2A4E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a12b79;
/* rgb */ color: rgb(161, 43, 121);
/* oklch */ color: oklch(49.7% 0.173 344.7);
Tailwind
colors: {
  custom: {
    50: '#c16f9f',
    500: '#a12b79',
    950: '#000000',
  },
}
SCSS
$custom: #a12b79;
$custom-light: #c16f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a12b79",
  "rgb": {
    "r": 161,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 320.339,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.49743,
    "c": 0.17283,
    "h": 344.7
  },
  "luminance": 0.10685
}

Semantic roles & 50–950 ramp

primary
#A12B79
secondary
#69BF86
accent
#E17B47
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12B79

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

Preview Lab → · Contrast checker → · Palette generator →

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