#A12678#A12678

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

Color values

HEX#A12678
RGBrgb(161, 38, 120)
HSLhsl(320, 62%, 39%)
HSVhsv(320, 76%, 63%)
CMYKcmyk(0%, 76.4%, 25.5%, 36.9%)
CIE-LABlab(38.41, 56.69, -17.49)
CIE-LCHlch(38.41, 59.33, 342.85°)
OKLaboklab(49.27% 0.1717 -0.0466)
OKLCHoklch(49.27% 0.178 344.8)
XYZxyz(18.7820, 10.3214, 18.7688)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12678 #26A14F
analogous
#8D26A1 #A12678 #A1263B
triadic
#A12678 #78A126 #2678A1
tetradic
#A12678 #A18D26 #26A14F #263BA1
square
#A12678 #A18D26 #26A14F #263BA1
split-complementary
#A12678 #3BA126 #26A18D
monochromatic
#3E0F2E #6F1A53 #A12678 #CF359C #DB66B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A12678#FFFFFF#000000##FFFFFF
##A126781.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354D7A
Deuteranopia (green-blind)
#5B6275
Tritanopia (blue-blind)
#AC244C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12678;
/* rgb */ color: rgb(161, 38, 120);
/* oklch */ color: oklch(49.3% 0.178 344.8);
Tailwind
colors: {
  custom: {
    50: '#c16d9f',
    500: '#a12678',
    950: '#000000',
  },
}
SCSS
$custom: #a12678;
$custom-light: #c16d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a12678",
  "rgb": {
    "r": 161,
    "g": 38,
    "b": 120
  },
  "hsl": {
    "h": 320,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49267,
    "c": 0.17789,
    "h": 344.8
  },
  "luminance": 0.10319
}

Semantic roles & 50–950 ramp

primary
#A12678
secondary
#62C182
accent
#E57943
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12678

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

Preview Lab → · Contrast checker → · Palette generator →

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