#A12879#A12879

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

Color values

HEX#A12879
RGBrgb(161, 40, 121)
HSLhsl(320, 60%, 39%)
HSVhsv(320, 75%, 63%)
CMYKcmyk(0%, 75.2%, 24.8%, 36.9%)
CIE-LABlab(38.69, 56.17, -17.70)
CIE-LCHlch(38.69, 58.89, 342.51°)
OKLaboklab(49.48% 0.1699 -0.0472)
OKLCHoklch(49.48% 0.176 344.5)
XYZxyz(18.9087, 10.4771, 19.1119)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12879 #28A150
analogous
#8D28A1 #A12879 #A1283C
triadic
#A12879 #79A128 #2879A1
tetradic
#A12879 #A18D28 #28A150 #283CA1
square
#A12879 #A18D28 #28A150 #283CA1
split-complementary
#A12879 #3CA128 #28A18D
monochromatic
#3F102F #701C54 #A12879 #CE399C #DA6AB5

Accessibility & contrast

On white

6.79
#A12879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12879
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12879#FFFFFF#000000##FFFFFF
##A128791.006.793.106.79
#FFFFFF6.791.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364E7B
Deuteranopia (green-blind)
#5B6276
Tritanopia (blue-blind)
#AC274D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a12879;
/* rgb */ color: rgb(161, 40, 121);
/* oklch */ color: oklch(49.5% 0.176 344.5);
Tailwind
colors: {
  custom: {
    50: '#c16ea0',
    500: '#a12879',
    950: '#000000',
  },
}
SCSS
$custom: #a12879;
$custom-light: #c16ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#a12879",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 319.835,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49479,
    "c": 0.17629,
    "h": 344.5
  },
  "luminance": 0.10475
}

Semantic roles & 50–950 ramp

primary
#A12879
secondary
#65C083
accent
#E37944
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12879

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

Preview Lab → · Contrast checker → · Palette generator →

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