#A42E84#A42E84

#A42E84 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.178 H 340.8°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A42E84
RGBrgb(164, 46, 132)
HSLhsl(316, 56%, 41%)
HSVhsv(316, 72%, 64%)
CMYKcmyk(0%, 72%, 19.5%, 35.7%)
CIE-LABlab(40.43, 56.37, -21.76)
CIE-LCHlch(40.43, 60.43, 338.89°)
OKLaboklab(51.01% 0.1684 -0.0586)
OKLCHoklch(51.01% 0.178 340.8)
XYZxyz(20.4523, 11.5144, 22.9707)
Luminance0.1151 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42E84 #2EA44E
analogous
#892EA4 #A42E84 #A42E49
triadic
#A42E84 #84A42E #2E84A4
tetradic
#A42E84 #A4892E #2EA44E #2E49A4
square
#A42E84 #A4892E #2EA44E #2E49A4
split-complementary
#A42E84 #49A42E #2EA489
monochromatic
#441337 #74215E #A42E84 #CB45A6 #D874BD

Accessibility & contrast

On white

6.36
#A42E84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A42E84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42E84
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42E84#FFFFFF#000000##FFFFFF
##A42E841.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375386
Deuteranopia (green-blind)
#5C6681
Tritanopia (blue-blind)
#AE3155
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a42e84;
/* rgb */ color: rgb(164, 46, 132);
/* oklch */ color: oklch(51.0% 0.178 340.8);
Tailwind
colors: {
  custom: {
    50: '#c371a8',
    500: '#a42e84',
    950: '#000000',
  },
}
SCSS
$custom: #a42e84;
$custom-light: #c371a8;
$custom-dark: #000000;
JSON
{
  "hex": "#a42e84",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 316.271,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51006,
    "c": 0.17829,
    "h": 340.8
  },
  "luminance": 0.11512
}

Semantic roles & 50–950 ramp

primary
#A42E84
secondary
#6EC084
accent
#DF7148
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42E84

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

Preview Lab → · Contrast checker → · Palette generator →

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