#A12979#A12979

#A12979 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.6% C 0.175 H 344.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A12979
RGBrgb(161, 41, 121)
HSLhsl(320, 59%, 40%)
HSVhsv(320, 75%, 63%)
CMYKcmyk(0%, 74.5%, 24.8%, 36.9%)
CIE-LABlab(38.80, 55.84, -17.51)
CIE-LCHlch(38.80, 58.52, 342.59°)
OKLaboklab(49.57% 0.1688 -0.0467)
OKLCHoklch(49.57% 0.175 344.5)
XYZxyz(18.9428, 10.5454, 19.1233)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12979 #29A151
analogous
#8D29A1 #A12979 #A1293D
triadic
#A12979 #79A129 #2979A1
tetradic
#A12979 #A18D29 #29A151 #293DA1
square
#A12979 #A18D29 #29A151 #293DA1
split-complementary
#A12979 #3DA129 #29A18D
monochromatic
#3F1030 #701D54 #A12979 #CD3A9C #D96BB5

Accessibility & contrast

On white

6.76
#A12979 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A12979 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12979
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12979#FFFFFF#000000##FFFFFF
##A129791.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7B
Deuteranopia (green-blind)
#5C6376
Tritanopia (blue-blind)
#AC284D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a12979;
/* rgb */ color: rgb(161, 41, 121);
/* oklch */ color: oklch(49.6% 0.175 344.5);
Tailwind
colors: {
  custom: {
    50: '#c16fa0',
    500: '#a12979',
    950: '#000000',
  },
}
SCSS
$custom: #a12979;
$custom-light: #c16fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#a12979",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 121
  },
  "hsl": {
    "h": 320,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49565,
    "c": 0.17515,
    "h": 344.5
  },
  "luminance": 0.10543
}

Semantic roles & 50–950 ramp

primary
#A12979
secondary
#66C084
accent
#E37A45
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12979

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

Preview Lab → · Contrast checker → · Palette generator →

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