#A12582#A12582

#A12582 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.7% C 0.185 H 340.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A12582
RGBrgb(161, 37, 130)
HSLhsl(315, 63%, 39%)
HSVhsv(315, 77%, 63%)
CMYKcmyk(0%, 77%, 19.3%, 36.9%)
CIE-LABlab(38.75, 58.35, -23.18)
CIE-LCHlch(38.75, 62.78, 338.33°)
OKLaboklab(49.66% 0.1743 -0.0626)
OKLCHoklch(49.66% 0.185 340.2)
XYZxyz(19.3893, 10.5139, 22.1230)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12582 #25A144
analogous
#8225A1 #A12582 #A12544
triadic
#A12582 #82A125 #2582A1
tetradic
#A12582 #A18225 #25A144 #2544A1
square
#A12582 #A18225 #25A144 #2544A1
split-complementary
#A12582 #44A125 #25A182
monochromatic
#3D0E32 #6F1A5A #A12582 #D033A9 #DC65BE

Accessibility & contrast

On white

6.77
#A12582 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A12582 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12582
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12582#FFFFFF#000000##FFFFFF
##A125821.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12582;
/* rgb */ color: rgb(161, 37, 130);
/* oklch */ color: oklch(49.7% 0.185 340.2);
Tailwind
colors: {
  custom: {
    50: '#c16da6',
    500: '#a12582',
    950: '#000000',
  },
}
SCSS
$custom: #a12582;
$custom-light: #c16da6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12582",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 130
  },
  "hsl": {
    "h": 315,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49656,
    "c": 0.18521,
    "h": 340.2
  },
  "luminance": 0.10512
}

Semantic roles & 50–950 ramp

primary
#A12582
secondary
#61C179
accent
#E66B42
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A12582

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

Preview Lab → · Contrast checker → · Palette generator →

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