#A12877#A12877

#A12877 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.175 H 345.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#A12877
RGBrgb(161, 40, 119)
HSLhsl(321, 60%, 39%)
HSVhsv(321, 75%, 63%)
CMYKcmyk(0%, 75.2%, 26.1%, 36.9%)
CIE-LABlab(38.60, 55.91, -16.58)
CIE-LCHlch(38.60, 58.32, 343.48°)
OKLaboklab(49.39% 0.1695 -0.044)
OKLCHoklch(49.39% 0.175 345.4)
XYZxyz(18.7873, 10.4286, 18.4727)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12877 #28A152
analogous
#8E28A1 #A12877 #A1283B
triadic
#A12877 #77A128 #2877A1
tetradic
#A12877 #A18E28 #28A152 #283BA1
square
#A12877 #A18E28 #28A152 #283BA1
split-complementary
#A12877 #3BA128 #28A18E
monochromatic
#3F102F #701C53 #A12877 #CE399A #DA6AB3

Accessibility & contrast

On white

6.81
#A12877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A12877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12877
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12877#FFFFFF#000000##FFFFFF
##A128771.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374E79
Deuteranopia (green-blind)
#5C6274
Tritanopia (blue-blind)
#AC264C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a12877;
/* rgb */ color: rgb(161, 40, 119);
/* oklch */ color: oklch(49.4% 0.175 345.4);
Tailwind
colors: {
  custom: {
    50: '#c16e9e',
    500: '#a12877',
    950: '#000000',
  },
}
SCSS
$custom: #a12877;
$custom-light: #c16e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#a12877",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 119
  },
  "hsl": {
    "h": 320.826,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4939,
    "c": 0.17509,
    "h": 345.4
  },
  "luminance": 0.10427
}

Semantic roles & 50–950 ramp

primary
#A12877
secondary
#65C084
accent
#E37C44
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12877

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

Preview Lab → · Contrast checker → · Palette generator →

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