#A42878#A42878

#A42878 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.178 H 346.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#A42878
RGBrgb(164, 40, 120)
HSLhsl(321, 61%, 40%)
HSVhsv(321, 76%, 64%)
CMYKcmyk(0%, 75.6%, 26.8%, 35.7%)
CIE-LABlab(39.19, 56.82, -16.26)
CIE-LCHlch(39.19, 59.10, 344.03°)
OKLaboklab(49.93% 0.1725 -0.0431)
OKLCHoklch(49.93% 0.178 346)
XYZxyz(19.4597, 10.7683, 18.8193)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42878 #28A454
analogous
#9228A4 #A42878 #A4283A
triadic
#A42878 #78A428 #2878A4
tetradic
#A42878 #A49228 #28A454 #283AA4
square
#A42878 #A49228 #28A454 #283AA4
split-complementary
#A42878 #3AA428 #28A492
monochromatic
#421030 #731C54 #A42878 #CF3A9A #DB6BB3

Accessibility & contrast

On white

6.66
#A42878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A42878 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42878
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42878#FFFFFF#000000##FFFFFF
##A428781.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394F7A
Deuteranopia (green-blind)
#5E6475
Tritanopia (blue-blind)
#AF254D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a42878;
/* rgb */ color: rgb(164, 40, 120);
/* oklch */ color: oklch(49.9% 0.178 346.0);
Tailwind
colors: {
  custom: {
    50: '#c36e9f',
    500: '#a42878',
    950: '#000000',
  },
}
SCSS
$custom: #a42878;
$custom-light: #c36e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a42878",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 120
  },
  "hsl": {
    "h": 321.29,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.49931,
    "c": 0.17776,
    "h": 346
  },
  "luminance": 0.10766
}

Semantic roles & 50–950 ramp

primary
#A42878
secondary
#66C187
accent
#E47D44
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A42878

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

Preview Lab → · Contrast checker → · Palette generator →

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