#A12779#A12779

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

Color values

HEX#A12779
RGBrgb(161, 39, 121)
HSLhsl(320, 61%, 39%)
HSVhsv(320, 76%, 63%)
CMYKcmyk(0%, 75.8%, 24.8%, 36.9%)
CIE-LABlab(38.57, 56.50, -17.87)
CIE-LCHlch(38.57, 59.26, 342.44°)
OKLaboklab(49.39% 0.1709 -0.0477)
OKLCHoklch(49.39% 0.177 344.4)
XYZxyz(18.8754, 10.4106, 19.1009)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12779 #27A14F
analogous
#8C27A1 #A12779 #A1273C
triadic
#A12779 #79A127 #2779A1
tetradic
#A12779 #A18C27 #27A14F #273CA1
square
#A12779 #A18C27 #27A14F #273CA1
split-complementary
#A12779 #3CA127 #27A18C
monochromatic
#3E0F2F #701B54 #A12779 #CE379D #DA68B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A12779#FFFFFF#000000##FFFFFF
##A127791.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12779;
/* rgb */ color: rgb(161, 39, 121);
/* oklch */ color: oklch(49.4% 0.177 344.4);
Tailwind
colors: {
  custom: {
    50: '#c16ea0',
    500: '#a12779',
    950: '#000000',
  },
}
SCSS
$custom: #a12779;
$custom-light: #c16ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#a12779",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 319.672,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49394,
    "c": 0.17739,
    "h": 344.4
  },
  "luminance": 0.10409
}

Semantic roles & 50–950 ramp

primary
#A12779
secondary
#63C082
accent
#E47844
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12779

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

Preview Lab → · Contrast checker → · Palette generator →

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