#A12882#A12882

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

Color values

HEX#A12882
RGBrgb(161, 40, 130)
HSLhsl(315, 60%, 39%)
HSVhsv(315, 75%, 63%)
CMYKcmyk(0%, 75.2%, 19.3%, 36.9%)
CIE-LABlab(39.08, 57.39, -22.66)
CIE-LCHlch(39.08, 61.71, 338.45°)
OKLaboklab(49.9% 0.1714 -0.0611)
OKLCHoklch(49.9% 0.182 340.4)
XYZxyz(19.4866, 10.7083, 22.1554)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12882 #28A147
analogous
#8428A1 #A12882 #A12846
triadic
#A12882 #82A128 #2882A1
tetradic
#A12882 #A18428 #28A147 #2846A1
square
#A12882 #A18428 #28A147 #2846A1
split-complementary
#A12882 #46A128 #28A184
monochromatic
#3F1033 #701C5A #A12882 #CE39A7 #DA6ABD

Accessibility & contrast

On white

6.69
#A12882 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12882
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12882#FFFFFF#000000##FFFFFF
##A128821.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315084
Deuteranopia (green-blind)
#58637F
Tritanopia (blue-blind)
#AB2C52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a12882;
/* rgb */ color: rgb(161, 40, 130);
/* oklch */ color: oklch(49.9% 0.182 340.4);
Tailwind
colors: {
  custom: {
    50: '#c16ea6',
    500: '#a12882',
    950: '#000000',
  },
}
SCSS
$custom: #a12882;
$custom-light: #c16ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12882",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 130
  },
  "hsl": {
    "h": 315.372,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49899,
    "c": 0.18199,
    "h": 340.4
  },
  "luminance": 0.10706
}

Semantic roles & 50–950 ramp

primary
#A12882
secondary
#65C07C
accent
#E36D44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A12882

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

Preview Lab → · Contrast checker → · Palette generator →

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