#A42D89#A42D89

#A42D89 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.183 H 338.6°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A42D89
RGBrgb(164, 45, 137)
HSLhsl(314, 57%, 41%)
HSVhsv(314, 73%, 64%)
CMYKcmyk(0%, 72.6%, 16.5%, 35.7%)
CIE-LABlab(40.54, 57.44, -24.67)
CIE-LCHlch(40.54, 62.52, 336.76°)
OKLaboklab(51.15% 0.1702 -0.0668)
OKLCHoklch(51.15% 0.183 338.6)
XYZxyz(20.7641, 11.5774, 24.8032)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42D89 #2DA448
analogous
#832DA4 #A42D89 #A42D4E
triadic
#A42D89 #89A42D #2D89A4
tetradic
#A42D89 #A4832D #2DA448 #2D4EA4
square
#A42D89 #A4832D #2DA448 #2D4EA4
split-complementary
#A42D89 #4EA42D #2DA483
monochromatic
#441339 #742061 #A42D89 #CB43AC #D973C1

Accessibility & contrast

On white

6.33
#A42D89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A42D89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42D89
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42D89#FFFFFF#000000##FFFFFF
##A42D891.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548C
Deuteranopia (green-blind)
#5A6686
Tritanopia (blue-blind)
#AD3257
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42d89;
/* rgb */ color: rgb(164, 45, 137);
/* oklch */ color: oklch(51.2% 0.183 338.6);
Tailwind
colors: {
  custom: {
    50: '#c371ab',
    500: '#a42d89',
    950: '#000000',
  },
}
SCSS
$custom: #a42d89;
$custom-light: #c371ab;
$custom-dark: #000000;
JSON
{
  "hex": "#a42d89",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 313.613,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51155,
    "c": 0.18287,
    "h": 338.6
  },
  "luminance": 0.11575
}

Semantic roles & 50–950 ramp

primary
#A42D89
secondary
#6DC080
accent
#E06A48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42D89

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

Preview Lab → · Contrast checker → · Palette generator →

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