#A12478#A12478

#A12478 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.1% C 0.180 H 344.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#A12478
RGBrgb(161, 36, 120)
HSLhsl(320, 63%, 39%)
HSVhsv(320, 78%, 63%)
CMYKcmyk(0%, 77.6%, 25.5%, 36.9%)
CIE-LABlab(38.19, 57.32, -17.83)
CIE-LCHlch(38.19, 60.03, 342.72°)
OKLaboklab(49.11% 0.1736 -0.0475)
OKLCHoklch(49.11% 0.18 344.7)
XYZxyz(18.7198, 10.1969, 18.7480)
Luminance0.1019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12478 #24A14D
analogous
#8B24A1 #A12478 #A12439
triadic
#A12478 #78A124 #2478A1
tetradic
#A12478 #A18B24 #24A14D #2439A1
square
#A12478 #A18B24 #24A14D #2439A1
split-complementary
#A12478 #39A124 #24A18B
monochromatic
#3D0E2D #6F1953 #A12478 #D1319D #DC63B5

Accessibility & contrast

On white

6.91
#A12478 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#A12478 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12478
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12478#FFFFFF#000000##FFFFFF
##A124781.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344D7A
Deuteranopia (green-blind)
#5A6175
Tritanopia (blue-blind)
#AC224B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12478;
/* rgb */ color: rgb(161, 36, 120);
/* oklch */ color: oklch(49.1% 0.180 344.7);
Tailwind
colors: {
  custom: {
    50: '#c16c9f',
    500: '#a12478',
    950: '#000000',
  },
}
SCSS
$custom: #a12478;
$custom-light: #c16c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a12478",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 120
  },
  "hsl": {
    "h": 319.68,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49108,
    "c": 0.17999,
    "h": 344.7
  },
  "luminance": 0.10195
}

Semantic roles & 50–950 ramp

primary
#A12478
secondary
#5FC27F
accent
#E67741
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #A12478

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

Preview Lab → · Contrast checker → · Palette generator →

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