#A42A5A#A42A5A

#A42A5A is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.162 H 1.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#A42A5A
RGBrgb(164, 42, 90)
HSLhsl(336, 59%, 40%)
HSVhsv(336, 74%, 64%)
CMYKcmyk(0%, 74.4%, 45.1%, 35.7%)
CIE-LABlab(38.36, 52.76, 1.40)
CIE-LCHlch(38.36, 52.77, 1.52°)
OKLaboklab(48.97% 0.1618 0.0042)
OKLCHoklch(48.97% 0.162 1.5)
XYZxyz(17.9847, 10.2890, 10.7098)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A5A #2AA474
analogous
#A42A97 #A42A5A #A4372A
triadic
#A42A5A #5AA42A #2A5AA4
tetradic
#A42A5A #97A42A #2AA474 #372AA4
square
#A42A5A #97A42A #2AA474 #372AA4
split-complementary
#A42A5A #2AA437 #2A97A4
monochromatic
#431125 #731E3F #A42A5A #CD3E76 #DA6E99

Accessibility & contrast

On white

6.87
#A42A5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A42A5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A5A
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A5A#FFFFFF#000000##FFFFFF
##A42A5A1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454B5B
Deuteranopia (green-blind)
#666357
Tritanopia (blue-blind)
#B2153E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a42a5a;
/* rgb */ color: rgb(164, 42, 90);
/* oklch */ color: oklch(49.0% 0.162 1.5);
Tailwind
colors: {
  custom: {
    50: '#c46e88',
    500: '#a42a5a',
    950: '#000000',
  },
}
SCSS
$custom: #a42a5a;
$custom-light: #c46e88;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a5a",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 90
  },
  "hsl": {
    "h": 336.393,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48972,
    "c": 0.16181,
    "h": 1.5
  },
  "luminance": 0.10287
}

Semantic roles & 50–950 ramp

primary
#A42A5A
secondary
#69C19E
accent
#E2A545
background
#FCF7F8
surface
#F9EDEF
border
#D2C8CA
text
#14080B
muted
#827B7C

Preview Lab

Preview with #A42A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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