#A12682#A12682

#A12682 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.184 H 340.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A12682
RGBrgb(161, 38, 130)
HSLhsl(315, 62%, 39%)
HSVhsv(315, 76%, 63%)
CMYKcmyk(0%, 76.4%, 19.3%, 36.9%)
CIE-LABlab(38.86, 58.04, -23.01)
CIE-LCHlch(38.86, 62.43, 338.37°)
OKLaboklab(49.74% 0.1734 -0.0621)
OKLCHoklch(49.74% 0.184 340.3)
XYZxyz(19.4209, 10.5769, 22.1335)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12682 #26A145
analogous
#8326A1 #A12682 #A12645
triadic
#A12682 #82A126 #2682A1
tetradic
#A12682 #A18326 #26A145 #2645A1
square
#A12682 #A18326 #26A145 #2645A1
split-complementary
#A12682 #45A126 #26A183
monochromatic
#3E0F32 #6F1A5A #A12682 #CF35A8 #DB66BE

Accessibility & contrast

On white

6.74
#A12682 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A12682 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12682
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12682#FFFFFF#000000##FFFFFF
##A126821.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4F84
Deuteranopia (green-blind)
#58627F
Tritanopia (blue-blind)
#AB2A51
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a12682;
/* rgb */ color: rgb(161, 38, 130);
/* oklch */ color: oklch(49.7% 0.184 340.3);
Tailwind
colors: {
  custom: {
    50: '#c16ea6',
    500: '#a12682',
    950: '#000000',
  },
}
SCSS
$custom: #a12682;
$custom-light: #c16ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12682",
  "rgb": {
    "r": 161,
    "g": 38,
    "b": 130
  },
  "hsl": {
    "h": 315.122,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49735,
    "c": 0.18415,
    "h": 340.3
  },
  "luminance": 0.10575
}

Semantic roles & 50–950 ramp

primary
#A12682
secondary
#62C17A
accent
#E56C43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A12682

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

Preview Lab → · Contrast checker → · Palette generator →

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