#A12870#A12870

#A12870 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.171 H 348.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A12870
RGBrgb(161, 40, 112)
HSLhsl(324, 60%, 39%)
HSVhsv(324, 75%, 63%)
CMYKcmyk(0%, 75.2%, 30.4%, 36.9%)
CIE-LABlab(38.32, 55.03, -12.63)
CIE-LCHlch(38.32, 56.46, 347.07°)
OKLaboklab(49.09% 0.1679 -0.0331)
OKLCHoklch(49.09% 0.171 348.8)
XYZxyz(18.3823, 10.2666, 16.3397)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12870 #28A159
analogous
#9628A1 #A12870 #A12833
triadic
#A12870 #70A128 #2870A1
tetradic
#A12870 #A19628 #28A159 #2833A1
square
#A12870 #A19628 #28A159 #2833A1
split-complementary
#A12870 #33A128 #28A196
monochromatic
#3F102C #701C4E #A12870 #CE3991 #DA6AAC

Accessibility & contrast

On white

6.88
#A12870 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A12870 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12870
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12870#FFFFFF#000000##FFFFFF
##A128701.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4D72
Deuteranopia (green-blind)
#5E626D
Tritanopia (blue-blind)
#AD2248
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12870;
/* rgb */ color: rgb(161, 40, 112);
/* oklch */ color: oklch(49.1% 0.171 348.8);
Tailwind
colors: {
  custom: {
    50: '#c16e99',
    500: '#a12870',
    950: '#000000',
  },
}
SCSS
$custom: #a12870;
$custom-light: #c16e99;
$custom-dark: #000000;
JSON
{
  "hex": "#a12870",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 112
  },
  "hsl": {
    "h": 324.298,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4909,
    "c": 0.17112,
    "h": 348.8
  },
  "luminance": 0.10265
}

Semantic roles & 50–950 ramp

primary
#A12870
secondary
#65C08A
accent
#E38544
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A12870

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

Preview Lab → · Contrast checker → · Palette generator →

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