#A12876#A12876

#A12876 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.174 H 345.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A12876
RGBrgb(161, 40, 118)
HSLhsl(321, 60%, 39%)
HSVhsv(321, 75%, 63%)
CMYKcmyk(0%, 75.2%, 26.7%, 36.9%)
CIE-LABlab(38.56, 55.78, -16.02)
CIE-LCHlch(38.56, 58.04, 343.98°)
OKLaboklab(49.35% 0.1693 -0.0425)
OKLCHoklch(49.35% 0.175 345.9)
XYZxyz(18.7276, 10.4047, 18.1581)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12876 #28A153
analogous
#9028A1 #A12876 #A1283A
triadic
#A12876 #76A128 #2876A1
tetradic
#A12876 #A19028 #28A153 #283AA1
square
#A12876 #A19028 #28A153 #283AA1
split-complementary
#A12876 #3AA128 #28A190
monochromatic
#3F102E #701C52 #A12876 #CE3999 #DA6AB2

Accessibility & contrast

On white

6.82
#A12876 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A12876 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12876
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12876#FFFFFF#000000##FFFFFF
##A128761.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384E78
Deuteranopia (green-blind)
#5C6273
Tritanopia (blue-blind)
#AC254C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a12876;
/* rgb */ color: rgb(161, 40, 118);
/* oklch */ color: oklch(49.3% 0.174 345.9);
Tailwind
colors: {
  custom: {
    50: '#c16e9d',
    500: '#a12876',
    950: '#000000',
  },
}
SCSS
$custom: #a12876;
$custom-light: #c16e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#a12876",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 321.322,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49346,
    "c": 0.1745,
    "h": 345.9
  },
  "luminance": 0.10403
}

Semantic roles & 50–950 ramp

primary
#A12876
secondary
#65C085
accent
#E37D44
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12876

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

Preview Lab → · Contrast checker → · Palette generator →

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