#A42988#A42988

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

Color values

HEX#A42988
RGBrgb(164, 41, 136)
HSLhsl(314, 60%, 40%)
HSVhsv(314, 75%, 64%)
CMYKcmyk(0%, 75%, 17.1%, 35.7%)
CIE-LABlab(40.01, 58.65, -24.87)
CIE-LCHlch(40.01, 63.71, 337.02°)
OKLaboklab(50.76% 0.1742 -0.0674)
OKLCHoklch(50.76% 0.187 338.9)
XYZxyz(20.5472, 11.2579, 24.3787)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42988 #29A445
analogous
#8329A4 #A42988 #A4294A
triadic
#A42988 #88A429 #2988A4
tetradic
#A42988 #A48329 #29A445 #294AA4
square
#A42988 #A48329 #29A445 #294AA4
split-complementary
#A42988 #4AA429 #29A483
monochromatic
#421137 #731D5F #A42988 #CE3CAD #DA6DC2

Accessibility & contrast

On white

6.46
#A42988 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A42988 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42988
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42988#FFFFFF#000000##FFFFFF
##A429881.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30528B
Deuteranopia (green-blind)
#596585
Tritanopia (blue-blind)
#AD2F55
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42988;
/* rgb */ color: rgb(164, 41, 136);
/* oklch */ color: oklch(50.8% 0.187 338.9);
Tailwind
colors: {
  custom: {
    50: '#c36fab',
    500: '#a42988',
    950: '#000000',
  },
}
SCSS
$custom: #a42988;
$custom-light: #c36fab;
$custom-dark: #000000;
JSON
{
  "hex": "#a42988",
  "rgb": {
    "r": 164,
    "g": 41,
    "b": 136
  },
  "hsl": {
    "h": 313.659,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5076,
    "c": 0.18675,
    "h": 338.9
  },
  "luminance": 0.11256
}

Semantic roles & 50–950 ramp

primary
#A42988
secondary
#68C17C
accent
#E36945
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42988

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

Preview Lab → · Contrast checker → · Palette generator →

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