#A12381#A12381

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

Color values

HEX#A12381
RGBrgb(161, 35, 129)
HSLhsl(315, 64%, 38%)
HSVhsv(315, 78%, 63%)
CMYKcmyk(0%, 78.3%, 19.9%, 36.9%)
CIE-LABlab(38.49, 58.81, -22.96)
CIE-LCHlch(38.49, 63.14, 338.67°)
OKLaboklab(49.46% 0.176 -0.062)
OKLCHoklch(49.46% 0.187 340.6)
XYZxyz(19.2620, 10.3661, 21.7511)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12381 #23A143
analogous
#8223A1 #A12381 #A12342
triadic
#A12381 #81A123 #2381A1
tetradic
#A12381 #A18223 #23A143 #2342A1
square
#A12381 #A18223 #23A143 #2342A1
split-complementary
#A12381 #42A123 #23A182
monochromatic
#3C0D30 #6F1859 #A12381 #D22FA9 #DD62BE

Accessibility & contrast

On white

6.83
#A12381 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A12381 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12381
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12381#FFFFFF#000000##FFFFFF
##A123811.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12381;
/* rgb */ color: rgb(161, 35, 129);
/* oklch */ color: oklch(49.5% 0.187 340.6);
Tailwind
colors: {
  custom: {
    50: '#c16ca6',
    500: '#a12381',
    950: '#000000',
  },
}
SCSS
$custom: #a12381;
$custom-light: #c16ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12381",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 129
  },
  "hsl": {
    "h": 315.238,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49455,
    "c": 0.18659,
    "h": 340.6
  },
  "luminance": 0.10364
}

Semantic roles & 50–950 ramp

primary
#A12381
secondary
#5EC277
accent
#E76B41
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A12381

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

Preview Lab → · Contrast checker → · Palette generator →

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