#A12776#A12776

#A12776 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.3% C 0.176 H 345.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#A12776
RGBrgb(161, 39, 118)
HSLhsl(321, 61%, 39%)
HSVhsv(321, 76%, 63%)
CMYKcmyk(0%, 75.8%, 26.7%, 36.9%)
CIE-LABlab(38.44, 56.11, -16.20)
CIE-LCHlch(38.44, 58.40, 343.90°)
OKLaboklab(49.26% 0.1703 -0.043)
OKLCHoklch(49.26% 0.176 345.8)
XYZxyz(18.6943, 10.3382, 18.1470)
Luminance0.1034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12776 #27A152
analogous
#8F27A1 #A12776 #A12739
triadic
#A12776 #76A127 #2776A1
tetradic
#A12776 #A18F27 #27A152 #2739A1
square
#A12776 #A18F27 #27A152 #2739A1
split-complementary
#A12776 #39A127 #27A18F
monochromatic
#3E0F2E #701B52 #A12776 #CE3799 #DA68B2

Accessibility & contrast

On white

6.85
#A12776 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A12776 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12776
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12776#FFFFFF#000000##FFFFFF
##A127761.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374D78
Deuteranopia (green-blind)
#5C6273
Tritanopia (blue-blind)
#AC244B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12776;
/* rgb */ color: rgb(161, 39, 118);
/* oklch */ color: oklch(49.3% 0.176 345.8);
Tailwind
colors: {
  custom: {
    50: '#c16e9d',
    500: '#a12776',
    950: '#000000',
  },
}
SCSS
$custom: #a12776;
$custom-light: #c16e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#a12776",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 118
  },
  "hsl": {
    "h": 321.148,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49261,
    "c": 0.17561,
    "h": 345.8
  },
  "luminance": 0.10336
}

Semantic roles & 50–950 ramp

primary
#A12776
secondary
#63C084
accent
#E47C44
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12776

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

Preview Lab → · Contrast checker → · Palette generator →

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