#A12864#A12864

#A12864 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.6% C 0.165 H 355.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#A12864
RGBrgb(161, 40, 100)
HSLhsl(330, 60%, 39%)
HSVhsv(330, 75%, 63%)
CMYKcmyk(0%, 75.2%, 37.9%, 36.9%)
CIE-LABlab(37.87, 53.63, -5.73)
CIE-LCHlch(37.87, 53.94, 353.90°)
OKLaboklab(48.62% 0.1646 -0.0144)
OKLCHoklch(48.62% 0.165 355)
XYZxyz(17.7581, 10.0169, 13.0524)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12864 #28A165
analogous
#A128A1 #A12864 #A12928
triadic
#A12864 #64A128 #2864A1
tetradic
#A12864 #A1A128 #28A165 #2928A1
square
#A12864 #A1A128 #28A165 #2928A1
split-complementary
#A12864 #28A129 #28A1A1
monochromatic
#3F1027 #701C46 #A12864 #CE3982 #DA6AA1

Accessibility & contrast

On white

6.99
#A12864 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#A12864 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12864
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12864#FFFFFF#000000##FFFFFF
##A128641.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404B66
Deuteranopia (green-blind)
#616161
Tritanopia (blue-blind)
#AE1A42
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a12864;
/* rgb */ color: rgb(161, 40, 100);
/* oklch */ color: oklch(48.6% 0.165 355.0);
Tailwind
colors: {
  custom: {
    50: '#c16d90',
    500: '#a12864',
    950: '#000000',
  },
}
SCSS
$custom: #a12864;
$custom-light: #c16d90;
$custom-dark: #000000;
JSON
{
  "hex": "#a12864",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 100
  },
  "hsl": {
    "h": 330.248,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4862,
    "c": 0.16523,
    "h": 355
  },
  "luminance": 0.10015
}

Semantic roles & 50–950 ramp

primary
#A12864
secondary
#65C093
accent
#E39544
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A12864

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

Preview Lab → · Contrast checker → · Palette generator →

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