#A42E87#A42E87

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

Color values

HEX#A42E87
RGBrgb(164, 46, 135)
HSLhsl(315, 56%, 41%)
HSVhsv(315, 72%, 64%)
CMYKcmyk(0%, 72%, 17.7%, 35.7%)
CIE-LABlab(40.57, 56.80, -23.39)
CIE-LCHlch(40.57, 61.43, 337.62°)
OKLaboklab(51.15% 0.1689 -0.0632)
OKLCHoklch(51.15% 0.18 339.5)
XYZxyz(20.6605, 11.5977, 24.0675)
Luminance0.1160 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42E87 #2EA44B
analogous
#862EA4 #A42E87 #A42E4C
triadic
#A42E87 #87A42E #2E87A4
tetradic
#A42E87 #A4862E #2EA44B #2E4CA4
square
#A42E87 #A4862E #2EA44B #2E4CA4
split-complementary
#A42E87 #4CA42E #2EA486
monochromatic
#441338 #742160 #A42E87 #CB45AA #D874C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A42E87#FFFFFF#000000##FFFFFF
##A42E871.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)
#355489
Deuteranopia (green-blind)
#5B6684
Tritanopia (blue-blind)
#AE3257
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42e87;
/* rgb */ color: rgb(164, 46, 135);
/* oklch */ color: oklch(51.1% 0.180 339.5);
Tailwind
colors: {
  custom: {
    50: '#c372aa',
    500: '#a42e87',
    950: '#000000',
  },
}
SCSS
$custom: #a42e87;
$custom-light: #c372aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a42e87",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 314.746,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51149,
    "c": 0.1803,
    "h": 339.5
  },
  "luminance": 0.11596
}

Semantic roles & 50–950 ramp

primary
#A42E87
secondary
#6EC082
accent
#DF6D48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42E87

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

Preview Lab → · Contrast checker → · Palette generator →

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