#A12387#A12387

#A12387 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.8% C 0.191 H 338.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A12387
RGBrgb(161, 35, 135)
HSLhsl(312, 64%, 38%)
HSVhsv(312, 78%, 63%)
CMYKcmyk(0%, 78.3%, 16.1%, 36.9%)
CIE-LABlab(38.78, 59.65, -26.22)
CIE-LCHlch(38.78, 65.16, 336.27°)
OKLaboklab(49.75% 0.1767 -0.0712)
OKLCHoklch(49.75% 0.191 338)
XYZxyz(19.6726, 10.5303, 23.9135)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12387 #23A13D
analogous
#7C23A1 #A12387 #A12348
triadic
#A12387 #87A123 #2387A1
tetradic
#A12387 #A17C23 #23A13D #2348A1
square
#A12387 #A17C23 #23A13D #2348A1
split-complementary
#A12387 #48A123 #23A17C
monochromatic
#3C0D33 #6F185D #A12387 #D22FB0 #DD62C3

Accessibility & contrast

On white

6.76
#A12387 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A12387 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12387
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12387#FFFFFF#000000##FFFFFF
##A123871.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294F8A
Deuteranopia (green-blind)
#556284
Tritanopia (blue-blind)
#AA2A53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a12387;
/* rgb */ color: rgb(161, 35, 135);
/* oklch */ color: oklch(49.8% 0.191 338.0);
Tailwind
colors: {
  custom: {
    50: '#c16daa',
    500: '#a12387',
    950: '#000000',
  },
}
SCSS
$custom: #a12387;
$custom-light: #c16daa;
$custom-dark: #000000;
JSON
{
  "hex": "#a12387",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 312.381,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49754,
    "c": 0.19054,
    "h": 338
  },
  "luminance": 0.10528
}

Semantic roles & 50–950 ramp

primary
#A12387
secondary
#5EC273
accent
#E76341
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A12387

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

Preview Lab → · Contrast checker → · Palette generator →

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