#A12581#A12581

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

Color values

HEX#A12581
RGBrgb(161, 37, 129)
HSLhsl(315, 63%, 39%)
HSVhsv(315, 77%, 63%)
CMYKcmyk(0%, 77%, 19.9%, 36.9%)
CIE-LABlab(38.70, 58.21, -22.64)
CIE-LCHlch(38.70, 62.46, 338.75°)
OKLaboklab(49.61% 0.1742 -0.061)
OKLCHoklch(49.61% 0.185 340.7)
XYZxyz(19.3226, 10.4871, 21.7712)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12581 #25A145
analogous
#8325A1 #A12581 #A12543
triadic
#A12581 #81A125 #2581A1
tetradic
#A12581 #A18325 #25A145 #2543A1
square
#A12581 #A18325 #25A145 #2543A1
split-complementary
#A12581 #43A125 #25A183
monochromatic
#3D0E31 #6F1A59 #A12581 #D033A8 #DC65BD

Accessibility & contrast

On white

6.78
#A12581 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12581
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12581#FFFFFF#000000##FFFFFF
##A125811.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4E83
Deuteranopia (green-blind)
#58627E
Tritanopia (blue-blind)
#AB2850
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a12581;
/* rgb */ color: rgb(161, 37, 129);
/* oklch */ color: oklch(49.6% 0.185 340.7);
Tailwind
colors: {
  custom: {
    50: '#c16da6',
    500: '#a12581',
    950: '#000000',
  },
}
SCSS
$custom: #a12581;
$custom-light: #c16da6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12581",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 129
  },
  "hsl": {
    "h": 315.484,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49607,
    "c": 0.18456,
    "h": 340.7
  },
  "luminance": 0.10485
}

Semantic roles & 50–950 ramp

primary
#A12581
secondary
#61C17A
accent
#E66C42
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A12581

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

Preview Lab → · Contrast checker → · Palette generator →

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