#A42A88#A42A88

#A42A88 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.8% C 0.186 H 338.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A42A88
RGBrgb(164, 42, 136)
HSLhsl(314, 59%, 40%)
HSVhsv(314, 74%, 64%)
CMYKcmyk(0%, 74.4%, 17.1%, 35.7%)
CIE-LABlab(40.13, 58.32, -24.69)
CIE-LCHlch(40.13, 63.34, 337.05°)
OKLaboklab(50.84% 0.1732 -0.0669)
OKLCHoklch(50.84% 0.186 338.9)
XYZxyz(20.5822, 11.3280, 24.3903)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A88 #2AA446
analogous
#832AA4 #A42A88 #A42A4B
triadic
#A42A88 #88A42A #2A88A4
tetradic
#A42A88 #A4832A #2AA446 #2A4BA4
square
#A42A88 #A4832A #2AA446 #2A4BA4
split-complementary
#A42A88 #4BA42A #2AA483
monochromatic
#431137 #731E60 #A42A88 #CD3EAC #DA6EC1

Accessibility & contrast

On white

6.43
#A42A88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A42A88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A88
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A88#FFFFFF#000000##FFFFFF
##A42A881.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31528B
Deuteranopia (green-blind)
#596585
Tritanopia (blue-blind)
#AD2F56
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a42a88;
/* rgb */ color: rgb(164, 42, 136);
/* oklch */ color: oklch(50.8% 0.186 338.9);
Tailwind
colors: {
  custom: {
    50: '#c370ab',
    500: '#a42a88',
    950: '#000000',
  },
}
SCSS
$custom: #a42a88;
$custom-light: #c370ab;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a88",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 313.77,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50844,
    "c": 0.18563,
    "h": 338.9
  },
  "luminance": 0.11326
}

Semantic roles & 50–950 ramp

primary
#A42A88
secondary
#69C17D
accent
#E26945
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42A88

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

Preview Lab → · Contrast checker → · Palette generator →

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