#A12778#A12778

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

Color values

HEX#A12778
RGBrgb(161, 39, 120)
HSLhsl(320, 61%, 39%)
HSVhsv(320, 76%, 63%)
CMYKcmyk(0%, 75.8%, 25.5%, 36.9%)
CIE-LABlab(38.53, 56.37, -17.32)
CIE-LCHlch(38.53, 58.97, 342.92°)
OKLaboklab(49.35% 0.1707 -0.0461)
OKLCHoklch(49.35% 0.177 344.9)
XYZxyz(18.8144, 10.3862, 18.7796)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12778 #27A150
analogous
#8D27A1 #A12778 #A1273B
triadic
#A12778 #78A127 #2778A1
tetradic
#A12778 #A18D27 #27A150 #273BA1
square
#A12778 #A18D27 #27A150 #273BA1
split-complementary
#A12778 #3BA127 #27A18D
monochromatic
#3E0F2F #701B53 #A12778 #CE379B #DA68B4

Accessibility & contrast

On white

6.83
#A12778 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12778
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12778#FFFFFF#000000##FFFFFF
##A127781.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364E7A
Deuteranopia (green-blind)
#5B6275
Tritanopia (blue-blind)
#AC254C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a12778;
/* rgb */ color: rgb(161, 39, 120);
/* oklch */ color: oklch(49.3% 0.177 344.9);
Tailwind
colors: {
  custom: {
    50: '#c16e9f',
    500: '#a12778',
    950: '#000000',
  },
}
SCSS
$custom: #a12778;
$custom-light: #c16e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a12778",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 120
  },
  "hsl": {
    "h": 320.164,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49349,
    "c": 0.1768,
    "h": 344.9
  },
  "luminance": 0.10384
}

Semantic roles & 50–950 ramp

primary
#A12778
secondary
#63C083
accent
#E47A44
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12778

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

Preview Lab → · Contrast checker → · Palette generator →

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