#A42F84#A42F84

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

Color values

HEX#A42F84
RGBrgb(164, 47, 132)
HSLhsl(316, 55%, 41%)
HSVhsv(316, 71%, 64%)
CMYKcmyk(0%, 71.3%, 19.5%, 35.7%)
CIE-LABlab(40.56, 56.01, -21.56)
CIE-LCHlch(40.56, 60.02, 338.94°)
OKLaboklab(51.1% 0.1673 -0.058)
OKLCHoklch(51.1% 0.177 340.9)
XYZxyz(20.4918, 11.5935, 22.9839)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42F84 #2FA44F
analogous
#8A2FA4 #A42F84 #A42F4A
triadic
#A42F84 #84A42F #2F84A4
tetradic
#A42F84 #A48A2F #2FA44F #2F4AA4
square
#A42F84 #A48A2F #2FA44F #2F4AA4
split-complementary
#A42F84 #4AA42F #2FA48A
monochromatic
#451437 #74215E #A42F84 #CA46A6 #D876BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A42F84#FFFFFF#000000##FFFFFF
##A42F841.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)
#385486
Deuteranopia (green-blind)
#5C6681
Tritanopia (blue-blind)
#AE3255
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42f84;
/* rgb */ color: rgb(164, 47, 132);
/* oklch */ color: oklch(51.1% 0.177 340.9);
Tailwind
colors: {
  custom: {
    50: '#c372a8',
    500: '#a42f84',
    950: '#000000',
  },
}
SCSS
$custom: #a42f84;
$custom-light: #c372a8;
$custom-dark: #000000;
JSON
{
  "hex": "#a42f84",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 316.41,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.511,
    "c": 0.17707,
    "h": 340.9
  },
  "luminance": 0.11591
}

Semantic roles & 50–950 ramp

primary
#A42F84
secondary
#6FC085
accent
#DF7249
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A42F84

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

Preview Lab → · Contrast checker → · Palette generator →

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