#A42C87#A42C87

#A42C87 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.0% C 0.183 H 339.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A42C87
RGBrgb(164, 44, 135)
HSLhsl(315, 58%, 41%)
HSVhsv(315, 73%, 64%)
CMYKcmyk(0%, 73.2%, 17.7%, 35.7%)
CIE-LABlab(40.32, 57.50, -23.78)
CIE-LCHlch(40.32, 62.23, 337.53°)
OKLaboklab(50.97% 0.171 -0.0643)
OKLCHoklch(50.97% 0.183 339.4)
XYZxyz(20.5842, 11.4451, 24.0420)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42C87 #2CA449
analogous
#852CA4 #A42C87 #A42C4B
triadic
#A42C87 #87A42C #2C87A4
tetradic
#A42C87 #A4852C #2CA449 #2C4BA4
square
#A42C87 #A4852C #2CA449 #2C4BA4
split-complementary
#A42C87 #4BA42C #2CA485
monochromatic
#431238 #741F5F #A42C87 #CC41AA #D971C0

Accessibility & contrast

On white

6.39
#A42C87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A42C87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42C87
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42C87#FFFFFF#000000##FFFFFF
##A42C871.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33538A
Deuteranopia (green-blind)
#5A6684
Tritanopia (blue-blind)
#AE3056
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a42c87;
/* rgb */ color: rgb(164, 44, 135);
/* oklch */ color: oklch(51.0% 0.183 339.4);
Tailwind
colors: {
  custom: {
    50: '#c371aa',
    500: '#a42c87',
    950: '#000000',
  },
}
SCSS
$custom: #a42c87;
$custom-light: #c371aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a42c87",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 314.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50968,
    "c": 0.18268,
    "h": 339.4
  },
  "luminance": 0.11443
}

Semantic roles & 50–950 ramp

primary
#A42C87
secondary
#6BC080
accent
#E16C47
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42C87

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

Preview Lab → · Contrast checker → · Palette generator →

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