#A42888#A42888

#A42888 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.188 H 338.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A42888
RGBrgb(164, 40, 136)
HSLhsl(314, 61%, 40%)
HSVhsv(314, 76%, 64%)
CMYKcmyk(0%, 75.6%, 17.1%, 35.7%)
CIE-LABlab(39.90, 58.98, -25.05)
CIE-LCHlch(39.90, 64.08, 336.99°)
OKLaboklab(50.68% 0.1751 -0.0679)
OKLCHoklch(50.68% 0.188 338.8)
XYZxyz(20.5131, 11.1897, 24.3673)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42888 #28A444
analogous
#8228A4 #A42888 #A4284A
triadic
#A42888 #88A428 #2888A4
tetradic
#A42888 #A48228 #28A444 #284AA4
square
#A42888 #A48228 #28A444 #284AA4
split-complementary
#A42888 #4AA428 #28A482
monochromatic
#421036 #731C5F #A42888 #CF3AAD #DB6BC2

Accessibility & contrast

On white

6.49
#A42888 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A42888 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42888
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42888#FFFFFF#000000##FFFFFF
##A428881.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F528B
Deuteranopia (green-blind)
#586585
Tritanopia (blue-blind)
#AD2E55
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42888;
/* rgb */ color: rgb(164, 40, 136);
/* oklch */ color: oklch(50.7% 0.188 338.8);
Tailwind
colors: {
  custom: {
    50: '#c36fab',
    500: '#a42888',
    950: '#000000',
  },
}
SCSS
$custom: #a42888;
$custom-light: #c36fab;
$custom-dark: #000000;
JSON
{
  "hex": "#a42888",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 136
  },
  "hsl": {
    "h": 313.548,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.50678,
    "c": 0.18783,
    "h": 338.8
  },
  "luminance": 0.11188
}

Semantic roles & 50–950 ramp

primary
#A42888
secondary
#66C17B
accent
#E46844
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42888

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

Preview Lab → · Contrast checker → · Palette generator →

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