#A42E80#A42E80

#A42E80 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.176 H 342.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A42E80
RGBrgb(164, 46, 128)
HSLhsl(318, 56%, 41%)
HSVhsv(318, 72%, 64%)
CMYKcmyk(0%, 72%, 22%, 35.7%)
CIE-LABlab(40.26, 55.81, -19.57)
CIE-LCHlch(40.26, 59.14, 340.68°)
OKLaboklab(50.82% 0.1677 -0.0524)
OKLCHoklch(50.82% 0.176 342.6)
XYZxyz(20.1838, 11.4071, 21.5567)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42E80 #2EA452
analogous
#8D2EA4 #A42E80 #A42E45
triadic
#A42E80 #80A42E #2E80A4
tetradic
#A42E80 #A48D2E #2EA452 #2E45A4
square
#A42E80 #A48D2E #2EA452 #2E45A4
split-complementary
#A42E80 #45A42E #2EA48D
monochromatic
#441335 #74215B #A42E80 #CB45A2 #D874BA

Accessibility & contrast

On white

6.40
#A42E80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A42E80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42E80
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42E80#FFFFFF#000000##FFFFFF
##A42E801.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395282
Deuteranopia (green-blind)
#5D667D
Tritanopia (blue-blind)
#AE2F53
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a42e80;
/* rgb */ color: rgb(164, 46, 128);
/* oklch */ color: oklch(50.8% 0.176 342.6);
Tailwind
colors: {
  custom: {
    50: '#c371a5',
    500: '#a42e80',
    950: '#000000',
  },
}
SCSS
$custom: #a42e80;
$custom-light: #c371a5;
$custom-dark: #000000;
JSON
{
  "hex": "#a42e80",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 318.305,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50821,
    "c": 0.17568,
    "h": 342.6
  },
  "luminance": 0.11405
}

Semantic roles & 50–950 ramp

primary
#A42E80
secondary
#6EC087
accent
#DF7648
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42E80

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

Preview Lab → · Contrast checker → · Palette generator →

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