#A12770#A12770

#A12770 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.0% C 0.172 H 348.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#A12770
RGBrgb(161, 39, 112)
HSLhsl(324, 61%, 39%)
HSVhsv(324, 76%, 63%)
CMYKcmyk(0%, 75.8%, 30.4%, 36.9%)
CIE-LABlab(38.20, 55.36, -12.81)
CIE-LCHlch(38.20, 56.82, 346.97°)
OKLaboklab(49% 0.1689 -0.0336)
OKLCHoklch(49% 0.172 348.7)
XYZxyz(18.3490, 10.2001, 16.3286)
Luminance0.1020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12770 #27A158
analogous
#9527A1 #A12770 #A12733
triadic
#A12770 #70A127 #2770A1
tetradic
#A12770 #A19527 #27A158 #2733A1
square
#A12770 #A19527 #27A158 #2733A1
split-complementary
#A12770 #33A127 #27A195
monochromatic
#3E0F2B #701B4E #A12770 #CE3792 #DA68AC

Accessibility & contrast

On white

6.91
#A12770 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#A12770 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12770
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12770#FFFFFF#000000##FFFFFF
##A127701.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4C72
Deuteranopia (green-blind)
#5E626D
Tritanopia (blue-blind)
#AD2148
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12770;
/* rgb */ color: rgb(161, 39, 112);
/* oklch */ color: oklch(49.0% 0.172 348.7);
Tailwind
colors: {
  custom: {
    50: '#c16d99',
    500: '#a12770',
    950: '#000000',
  },
}
SCSS
$custom: #a12770;
$custom-light: #c16d99;
$custom-dark: #000000;
JSON
{
  "hex": "#a12770",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 112
  },
  "hsl": {
    "h": 324.098,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49004,
    "c": 0.17223,
    "h": 348.7
  },
  "luminance": 0.10198
}

Semantic roles & 50–950 ramp

primary
#A12770
secondary
#63C089
accent
#E48444
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A12770

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

Preview Lab → · Contrast checker → · Palette generator →

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