#A42A7E#A42A7E

#A42A7E is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.179 H 343.3°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A42A7E
RGBrgb(164, 42, 126)
HSLhsl(319, 59%, 40%)
HSVhsv(319, 74%, 64%)
CMYKcmyk(0%, 74.4%, 23.2%, 35.7%)
CIE-LABlab(39.68, 56.94, -19.23)
CIE-LCHlch(39.68, 60.10, 341.34°)
OKLaboklab(50.37% 0.1716 -0.0514)
OKLCHoklch(50.37% 0.179 343.3)
XYZxyz(19.9044, 11.0569, 20.8206)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A7E #2AA450
analogous
#8D2AA4 #A42A7E #A42A41
triadic
#A42A7E #7EA42A #2A7EA4
tetradic
#A42A7E #A48D2A #2AA450 #2A41A4
square
#A42A7E #A48D2A #2AA450 #2A41A4
split-complementary
#A42A7E #41A42A #2AA48D
monochromatic
#431133 #731E59 #A42A7E #CD3EA1 #DA6EB8

Accessibility & contrast

On white

6.54
#A42A7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A42A7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A7E
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A7E#FFFFFF#000000##FFFFFF
##A42A7E1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375180
Deuteranopia (green-blind)
#5D657B
Tritanopia (blue-blind)
#AF2A50
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a42a7e;
/* rgb */ color: rgb(164, 42, 126);
/* oklch */ color: oklch(50.4% 0.179 343.3);
Tailwind
colors: {
  custom: {
    50: '#c370a3',
    500: '#a42a7e',
    950: '#000000',
  },
}
SCSS
$custom: #a42a7e;
$custom-light: #c370a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a7e",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 318.689,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50369,
    "c": 0.17913,
    "h": 343.3
  },
  "luminance": 0.11055
}

Semantic roles & 50–950 ramp

primary
#A42A7E
secondary
#69C184
accent
#E27645
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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