#A42A7F#A42A7F

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

Color values

HEX#A42A7F
RGBrgb(164, 42, 127)
HSLhsl(318, 59%, 40%)
HSVhsv(318, 74%, 64%)
CMYKcmyk(0%, 74.4%, 22.6%, 35.7%)
CIE-LABlab(39.72, 57.07, -19.78)
CIE-LCHlch(39.72, 60.40, 340.88°)
OKLaboklab(50.42% 0.1718 -0.053)
OKLCHoklch(50.42% 0.18 342.9)
XYZxyz(19.9693, 11.0828, 21.1621)
Luminance0.1108 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A7F #2AA44F
analogous
#8C2AA4 #A42A7F #A42A42
triadic
#A42A7F #7FA42A #2A7FA4
tetradic
#A42A7F #A48C2A #2AA44F #2A42A4
square
#A42A7F #A48C2A #2AA44F #2A42A4
split-complementary
#A42A7F #42A42A #2AA48C
monochromatic
#431134 #731E59 #A42A7F #CD3EA2 #DA6EB9

Accessibility & contrast

On white

6.53
#A42A7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A42A7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A7F
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A7F#FFFFFF#000000##FFFFFF
##A42A7F1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365181
Deuteranopia (green-blind)
#5C657C
Tritanopia (blue-blind)
#AF2B51
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42a7f;
/* rgb */ color: rgb(164, 42, 127);
/* oklch */ color: oklch(50.4% 0.180 342.9);
Tailwind
colors: {
  custom: {
    50: '#c370a4',
    500: '#a42a7f',
    950: '#000000',
  },
}
SCSS
$custom: #a42a7f;
$custom-light: #c370a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a7f",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 127
  },
  "hsl": {
    "h": 318.197,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50415,
    "c": 0.17975,
    "h": 342.9
  },
  "luminance": 0.11081
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A42A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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