#A12866#A12866

#A12866 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.7% C 0.166 H 353.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#A12866
RGBrgb(161, 40, 102)
HSLhsl(329, 60%, 39%)
HSVhsv(329, 75%, 63%)
CMYKcmyk(0%, 75.2%, 36.6%, 36.9%)
CIE-LABlab(37.94, 53.85, -6.89)
CIE-LCHlch(37.94, 54.29, 352.71°)
OKLaboklab(48.69% 0.1652 -0.0175)
OKLCHoklch(48.69% 0.166 353.9)
XYZxyz(17.8561, 10.0561, 13.5685)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12866 #28A163
analogous
#A028A1 #A12866 #A1282A
triadic
#A12866 #66A128 #2866A1
tetradic
#A12866 #A1A028 #28A163 #282AA1
square
#A12866 #A1A028 #28A163 #282AA1
split-complementary
#A12866 #2AA128 #28A1A0
monochromatic
#3F1028 #701C47 #A12866 #CE3985 #DA6AA3

Accessibility & contrast

On white

6.97
#A12866 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#A12866 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12866
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12866#FFFFFF#000000##FFFFFF
##A128661.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4B68
Deuteranopia (green-blind)
#616163
Tritanopia (blue-blind)
#AE1C43
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a12866;
/* rgb */ color: rgb(161, 40, 102);
/* oklch */ color: oklch(48.7% 0.166 353.9);
Tailwind
colors: {
  custom: {
    50: '#c16d91',
    500: '#a12866',
    950: '#000000',
  },
}
SCSS
$custom: #a12866;
$custom-light: #c16d91;
$custom-dark: #000000;
JSON
{
  "hex": "#a12866",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 102
  },
  "hsl": {
    "h": 329.256,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48694,
    "c": 0.16612,
    "h": 353.9
  },
  "luminance": 0.10054
}

Semantic roles & 50–950 ramp

primary
#A12866
secondary
#65C091
accent
#E39244
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A12866

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

Preview Lab → · Contrast checker → · Palette generator →

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