#A12487#A12487

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

Color values

HEX#A12487
RGBrgb(161, 36, 135)
HSLhsl(312, 63%, 39%)
HSVhsv(312, 78%, 63%)
CMYKcmyk(0%, 77.6%, 16.1%, 36.9%)
CIE-LABlab(38.88, 59.36, -26.06)
CIE-LCHlch(38.88, 64.83, 336.30°)
OKLaboklab(49.83% 0.1758 -0.0708)
OKLCHoklch(49.83% 0.19 338.1)
XYZxyz(19.7024, 10.5900, 23.9234)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12487 #24A13E
analogous
#7C24A1 #A12487 #A12448
triadic
#A12487 #87A124 #2487A1
tetradic
#A12487 #A17C24 #24A13E #2448A1
square
#A12487 #A17C24 #24A13E #2448A1
split-complementary
#A12487 #48A124 #24A17C
monochromatic
#3D0E33 #6F195D #A12487 #D131B0 #DC63C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A12487#FFFFFF#000000##FFFFFF
##A124871.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)
#2A4F8A
Deuteranopia (green-blind)
#556284
Tritanopia (blue-blind)
#AA2B53
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a12487;
/* rgb */ color: rgb(161, 36, 135);
/* oklch */ color: oklch(49.8% 0.190 338.1);
Tailwind
colors: {
  custom: {
    50: '#c16daa',
    500: '#a12487',
    950: '#000000',
  },
}
SCSS
$custom: #a12487;
$custom-light: #c16daa;
$custom-dark: #000000;
JSON
{
  "hex": "#a12487",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 312.48,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49829,
    "c": 0.18955,
    "h": 338.1
  },
  "luminance": 0.10588
}

Semantic roles & 50–950 ramp

primary
#A12487
secondary
#5FC274
accent
#E66441
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A12487

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

Preview Lab → · Contrast checker → · Palette generator →

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