#A42B87#A42B87

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

Color values

HEX#A42B87
RGBrgb(164, 43, 135)
HSLhsl(314, 58%, 41%)
HSVhsv(314, 74%, 64%)
CMYKcmyk(0%, 73.8%, 17.7%, 35.7%)
CIE-LABlab(40.20, 57.85, -23.97)
CIE-LCHlch(40.20, 62.61, 337.49°)
OKLaboklab(50.88% 0.172 -0.0648)
OKLCHoklch(50.88% 0.184 339.4)
XYZxyz(20.5474, 11.3715, 24.0298)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42B87 #2BA448
analogous
#842BA4 #A42B87 #A42B4A
triadic
#A42B87 #87A42B #2B87A4
tetradic
#A42B87 #A4842B #2BA448 #2B4AA4
square
#A42B87 #A4842B #2BA448 #2B4AA4
split-complementary
#A42B87 #4AA42B #2BA484
monochromatic
#431237 #741E5F #A42B87 #CD3FAB #D970C0

Accessibility & contrast

On white

6.41
#A42B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42B87
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42B87#FFFFFF#000000##FFFFFF
##A42B871.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42b87;
/* rgb */ color: rgb(164, 43, 135);
/* oklch */ color: oklch(50.9% 0.184 339.4);
Tailwind
colors: {
  custom: {
    50: '#c370aa',
    500: '#a42b87',
    950: '#000000',
  },
}
SCSS
$custom: #a42b87;
$custom-light: #c370aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a42b87",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 314.38,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50881,
    "c": 0.18382,
    "h": 339.4
  },
  "luminance": 0.1137
}

Semantic roles & 50–950 ramp

primary
#A42B87
secondary
#6AC17F
accent
#E26B46
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42B87

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

Preview Lab → · Contrast checker → · Palette generator →

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