#A12785#A12785

#A12785 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 50.0% C 0.185 H 339.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#A12785
RGBrgb(161, 39, 133)
HSLhsl(314, 61%, 39%)
HSVhsv(314, 76%, 63%)
CMYKcmyk(0%, 75.8%, 17.4%, 36.9%)
CIE-LABlab(39.11, 58.14, -24.47)
CIE-LCHlch(39.11, 63.08, 337.17°)
OKLaboklab(49.96% 0.1728 -0.0663)
OKLCHoklch(49.96% 0.185 339)
XYZxyz(19.6576, 10.7235, 23.2203)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12785 #27A143
analogous
#8027A1 #A12785 #A12748
triadic
#A12785 #85A127 #2785A1
tetradic
#A12785 #A18027 #27A143 #2748A1
square
#A12785 #A18027 #27A143 #2748A1
split-complementary
#A12785 #48A127 #27A180
monochromatic
#3E0F34 #701B5C #A12785 #CE37AC #DA68C0

Accessibility & contrast

On white

6.68
#A12785 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A12785 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12785
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12785#FFFFFF#000000##FFFFFF
##A127851.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5088
Deuteranopia (green-blind)
#576382
Tritanopia (blue-blind)
#AA2C53
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a12785;
/* rgb */ color: rgb(161, 39, 133);
/* oklch */ color: oklch(50.0% 0.185 339.0);
Tailwind
colors: {
  custom: {
    50: '#c16ea8',
    500: '#a12785',
    950: '#000000',
  },
}
SCSS
$custom: #a12785;
$custom-light: #c16ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#a12785",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 133
  },
  "hsl": {
    "h": 313.77,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49963,
    "c": 0.18507,
    "h": 339
  },
  "luminance": 0.10722
}

Semantic roles & 50–950 ramp

primary
#A12785
secondary
#63C079
accent
#E46944
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A12785

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

Preview Lab → · Contrast checker → · Palette generator →

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