#A42A86#A42A86

#A42A86 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.184 H 339.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A42A86
RGBrgb(164, 42, 134)
HSLhsl(315, 59%, 40%)
HSVhsv(315, 74%, 64%)
CMYKcmyk(0%, 74.4%, 18.3%, 35.7%)
CIE-LABlab(40.03, 58.04, -23.61)
CIE-LCHlch(40.03, 62.66, 337.86°)
OKLaboklab(50.75% 0.1729 -0.0638)
OKLCHoklch(50.75% 0.184 339.7)
XYZxyz(20.4414, 11.2717, 23.6487)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A86 #2AA448
analogous
#852AA4 #A42A86 #A42A49
triadic
#A42A86 #86A42A #2A86A4
tetradic
#A42A86 #A4852A #2AA448 #2A49A4
square
#A42A86 #A4852A #2AA448 #2A49A4
split-complementary
#A42A86 #49A42A #2AA485
monochromatic
#431136 #731E5E #A42A86 #CD3EAA #DA6EC0

Accessibility & contrast

On white

6.45
#A42A86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42A86
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A86#FFFFFF#000000##FFFFFF
##A42A861.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325289
Deuteranopia (green-blind)
#5A6583
Tritanopia (blue-blind)
#AE2E55
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42a86;
/* rgb */ color: rgb(164, 42, 134);
/* oklch */ color: oklch(50.7% 0.184 339.7);
Tailwind
colors: {
  custom: {
    50: '#c370a9',
    500: '#a42a86',
    950: '#000000',
  },
}
SCSS
$custom: #a42a86;
$custom-light: #c370a9;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a86",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 314.754,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50746,
    "c": 0.18429,
    "h": 339.7
  },
  "luminance": 0.1127
}

Semantic roles & 50–950 ramp

primary
#A42A86
secondary
#69C17F
accent
#E26C45
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42A86

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

Preview Lab → · Contrast checker → · Palette generator →

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