#A12977#A12977

#A12977 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.174 H 345.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A12977
RGBrgb(161, 41, 119)
HSLhsl(321, 59%, 40%)
HSVhsv(321, 75%, 63%)
CMYKcmyk(0%, 74.5%, 26.1%, 36.9%)
CIE-LABlab(38.72, 55.57, -16.40)
CIE-LCHlch(38.72, 57.94, 343.56°)
OKLaboklab(49.48% 0.1684 -0.0435)
OKLCHoklch(49.48% 0.174 345.5)
XYZxyz(18.8215, 10.4969, 18.4841)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12977 #29A153
analogous
#8F29A1 #A12977 #A1293B
triadic
#A12977 #77A129 #2977A1
tetradic
#A12977 #A18F29 #29A153 #293BA1
square
#A12977 #A18F29 #29A153 #293BA1
split-complementary
#A12977 #3BA129 #29A18F
monochromatic
#3F102F #701D53 #A12977 #CD3A9A #D96BB3

Accessibility & contrast

On white

6.78
#A12977 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A12977 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12977
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12977#FFFFFF#000000##FFFFFF
##A129771.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384E79
Deuteranopia (green-blind)
#5C6374
Tritanopia (blue-blind)
#AC274C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a12977;
/* rgb */ color: rgb(161, 41, 119);
/* oklch */ color: oklch(49.5% 0.174 345.5);
Tailwind
colors: {
  custom: {
    50: '#c16e9e',
    500: '#a12977',
    950: '#000000',
  },
}
SCSS
$custom: #a12977;
$custom-light: #c16e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#a12977",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 119
  },
  "hsl": {
    "h": 321,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49476,
    "c": 0.17396,
    "h": 345.5
  },
  "luminance": 0.10495
}

Semantic roles & 50–950 ramp

primary
#A12977
secondary
#66C085
accent
#E37C45
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12977

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

Preview Lab → · Contrast checker → · Palette generator →

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