#A12878#A12878

#A12878 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.176 H 345.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#A12878
RGBrgb(161, 40, 120)
HSLhsl(320, 60%, 39%)
HSVhsv(320, 75%, 63%)
CMYKcmyk(0%, 75.2%, 25.5%, 36.9%)
CIE-LABlab(38.64, 56.04, -17.14)
CIE-LCHlch(38.64, 58.60, 343.00°)
OKLaboklab(49.43% 0.1697 -0.0456)
OKLCHoklch(49.43% 0.176 345)
XYZxyz(18.8477, 10.4527, 18.7907)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12878 #28A151
analogous
#8E28A1 #A12878 #A1283B
triadic
#A12878 #78A128 #2878A1
tetradic
#A12878 #A18E28 #28A151 #283BA1
square
#A12878 #A18E28 #28A151 #283BA1
split-complementary
#A12878 #3BA128 #28A18E
monochromatic
#3F102F #701C53 #A12878 #CE399B #DA6AB4

Accessibility & contrast

On white

6.80
#A12878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12878
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12878#FFFFFF#000000##FFFFFF
##A128781.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374E7A
Deuteranopia (green-blind)
#5C6275
Tritanopia (blue-blind)
#AC264D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a12878;
/* rgb */ color: rgb(161, 40, 120);
/* oklch */ color: oklch(49.4% 0.176 345.0);
Tailwind
colors: {
  custom: {
    50: '#c16e9f',
    500: '#a12878',
    950: '#000000',
  },
}
SCSS
$custom: #a12878;
$custom-light: #c16e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a12878",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 120
  },
  "hsl": {
    "h": 320.331,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49434,
    "c": 0.17568,
    "h": 345
  },
  "luminance": 0.10451
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A12878

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

Preview Lab → · Contrast checker → · Palette generator →

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