#A12873#A12873

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

Color values

HEX#A12873
RGBrgb(161, 40, 115)
HSLhsl(323, 60%, 39%)
HSVhsv(323, 75%, 63%)
CMYKcmyk(0%, 75.2%, 28.6%, 36.9%)
CIE-LABlab(38.44, 55.40, -14.33)
CIE-LCHlch(38.44, 57.22, 345.50°)
OKLaboklab(49.22% 0.1686 -0.0378)
OKLCHoklch(49.22% 0.173 347.4)
XYZxyz(18.5521, 10.3345, 17.2341)
Luminance0.1033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12873 #28A156
analogous
#9328A1 #A12873 #A12837
triadic
#A12873 #73A128 #2873A1
tetradic
#A12873 #A19328 #28A156 #2837A1
square
#A12873 #A19328 #28A156 #2837A1
split-complementary
#A12873 #37A128 #28A193
monochromatic
#3F102D #701C50 #A12873 #CE3995 #DA6AAF

Accessibility & contrast

On white

6.85
#A12873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12873
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12873#FFFFFF#000000##FFFFFF
##A128731.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394D75
Deuteranopia (green-blind)
#5D6270
Tritanopia (blue-blind)
#AC234A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12873;
/* rgb */ color: rgb(161, 40, 115);
/* oklch */ color: oklch(49.2% 0.173 347.4);
Tailwind
colors: {
  custom: {
    50: '#c16e9b',
    500: '#a12873',
    950: '#000000',
  },
}
SCSS
$custom: #a12873;
$custom-light: #c16e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#a12873",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 322.81,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49216,
    "c": 0.17278,
    "h": 347.4
  },
  "luminance": 0.10332
}

Semantic roles & 50–950 ramp

primary
#A12873
secondary
#65C087
accent
#E38144
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12873

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

Preview Lab → · Contrast checker → · Palette generator →

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