#A12872#A12872

#A12872 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.172 H 347.8°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#A12872
RGBrgb(161, 40, 114)
HSLhsl(323, 60%, 39%)
HSVhsv(323, 75%, 63%)
CMYKcmyk(0%, 75.2%, 29.2%, 36.9%)
CIE-LABlab(38.40, 55.27, -13.77)
CIE-LCHlch(38.40, 56.96, 346.02°)
OKLaboklab(49.17% 0.1684 -0.0362)
OKLCHoklch(49.17% 0.172 347.8)
XYZxyz(18.4949, 10.3116, 16.9327)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12872 #28A157
analogous
#9428A1 #A12872 #A12835
triadic
#A12872 #72A128 #2872A1
tetradic
#A12872 #A19428 #28A157 #2835A1
square
#A12872 #A19428 #28A157 #2835A1
split-complementary
#A12872 #35A128 #28A194
monochromatic
#3F102D #701C4F #A12872 #CE3994 #DA6AAE

Accessibility & contrast

On white

6.86
#A12872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A12872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12872
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12872#FFFFFF#000000##FFFFFF
##A128721.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4D74
Deuteranopia (green-blind)
#5E626F
Tritanopia (blue-blind)
#AD2349
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12872;
/* rgb */ color: rgb(161, 40, 114);
/* oklch */ color: oklch(49.2% 0.172 347.8);
Tailwind
colors: {
  custom: {
    50: '#c16e9a',
    500: '#a12872',
    950: '#000000',
  },
}
SCSS
$custom: #a12872;
$custom-light: #c16e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#a12872",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 323.306,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49173,
    "c": 0.17222,
    "h": 347.8
  },
  "luminance": 0.1031
}

Semantic roles & 50–950 ramp

primary
#A12872
secondary
#65C088
accent
#E38244
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12872

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

Preview Lab → · Contrast checker → · Palette generator →

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