#A12481#A12481

#A12481 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.5% C 0.186 H 340.6°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#A12481
RGBrgb(161, 36, 129)
HSLhsl(315, 63%, 39%)
HSVhsv(315, 78%, 63%)
CMYKcmyk(0%, 77.6%, 19.9%, 36.9%)
CIE-LABlab(38.60, 58.52, -22.80)
CIE-LCHlch(38.60, 62.80, 338.71°)
OKLaboklab(49.53% 0.1751 -0.0615)
OKLCHoklch(49.53% 0.186 340.6)
XYZxyz(19.2919, 10.4258, 21.7610)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12481 #24A144
analogous
#8224A1 #A12481 #A12442
triadic
#A12481 #81A124 #2481A1
tetradic
#A12481 #A18224 #24A144 #2442A1
square
#A12481 #A18224 #24A144 #2442A1
split-complementary
#A12481 #42A124 #24A182
monochromatic
#3D0E31 #6F1959 #A12481 #D131A8 #DC63BD

Accessibility & contrast

On white

6.81
#A12481 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A12481 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12481
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12481#FFFFFF#000000##FFFFFF
##A124811.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12481;
/* rgb */ color: rgb(161, 36, 129);
/* oklch */ color: oklch(49.5% 0.186 340.6);
Tailwind
colors: {
  custom: {
    50: '#c16da6',
    500: '#a12481',
    950: '#000000',
  },
}
SCSS
$custom: #a12481;
$custom-light: #c16da6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12481",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 129
  },
  "hsl": {
    "h": 315.36,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4953,
    "c": 0.18559,
    "h": 340.6
  },
  "luminance": 0.10424
}

Semantic roles & 50–950 ramp

primary
#A12481
secondary
#5FC278
accent
#E66C41
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A12481

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

Preview Lab → · Contrast checker → · Palette generator →

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