#A12783#A12783

#A12783 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.184 H 339.9°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A12783
RGBrgb(161, 39, 131)
HSLhsl(315, 61%, 39%)
HSVhsv(315, 76%, 63%)
CMYKcmyk(0%, 75.8%, 18.6%, 36.9%)
CIE-LABlab(39.02, 57.86, -23.38)
CIE-LCHlch(39.02, 62.41, 337.99°)
OKLaboklab(49.86% 0.1725 -0.0632)
OKLCHoklch(49.86% 0.184 339.9)
XYZxyz(19.5207, 10.6687, 22.4995)
Luminance0.1067 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12783 #27A145
analogous
#8227A1 #A12783 #A12746
triadic
#A12783 #83A127 #2783A1
tetradic
#A12783 #A18227 #27A145 #2746A1
square
#A12783 #A18227 #27A145 #2746A1
split-complementary
#A12783 #46A127 #27A182
monochromatic
#3E0F33 #701B5B #A12783 #CE37A9 #DA68BE

Accessibility & contrast

On white

6.70
#A12783 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A12783 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12783
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12783#FFFFFF#000000##FFFFFF
##A127831.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305085
Deuteranopia (green-blind)
#586380
Tritanopia (blue-blind)
#AB2B52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a12783;
/* rgb */ color: rgb(161, 39, 131);
/* oklch */ color: oklch(49.9% 0.184 339.9);
Tailwind
colors: {
  custom: {
    50: '#c16ea7',
    500: '#a12783',
    950: '#000000',
  },
}
SCSS
$custom: #a12783;
$custom-light: #c16ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#a12783",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 131
  },
  "hsl": {
    "h": 314.754,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49865,
    "c": 0.18373,
    "h": 339.9
  },
  "luminance": 0.10667
}

Semantic roles & 50–950 ramp

primary
#A12783
secondary
#63C07A
accent
#E46B44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A12783

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

Preview Lab → · Contrast checker → · Palette generator →

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