#A42A99#A42A99

#A42A99 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.7% C 0.198 H 332.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A42A99
RGBrgb(164, 42, 153)
HSLhsl(305, 59%, 40%)
HSVhsv(305, 74%, 64%)
CMYKcmyk(0%, 74.4%, 6.7%, 35.7%)
CIE-LABlab(40.98, 60.88, -33.71)
CIE-LCHlch(40.98, 69.59, 331.03°)
OKLaboklab(51.73% 0.1747 -0.0927)
OKLCHoklch(51.73% 0.198 332)
XYZxyz(21.8876, 11.8501, 31.2653)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A99 #2AA435
analogous
#722AA4 #A42A99 #A42A5C
triadic
#A42A99 #99A42A #2A99A4
tetradic
#A42A99 #A4722A #2AA435 #2A5CA4
square
#A42A99 #A4722A #2AA435 #2A5CA4
split-complementary
#A42A99 #5CA42A #2AA472
monochromatic
#43113E #731E6C #A42A99 #CD3EC1 #DA6ED0

Accessibility & contrast

On white

6.23
#A42A99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A42A99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A99
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A99#FFFFFF#000000##FFFFFF
##A42A991.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22569C
Deuteranopia (green-blind)
#526796
Tritanopia (blue-blind)
#AB385F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a42a99;
/* rgb */ color: rgb(164, 42, 153);
/* oklch */ color: oklch(51.7% 0.198 332.0);
Tailwind
colors: {
  custom: {
    50: '#c371b7',
    500: '#a42a99',
    950: '#000000',
  },
}
SCSS
$custom: #a42a99;
$custom-light: #c371b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a99",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 305.41,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51732,
    "c": 0.19774,
    "h": 332
  },
  "luminance": 0.11848
}

Semantic roles & 50–950 ramp

primary
#A42A99
secondary
#69C171
accent
#E25445
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42A99

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

Preview Lab → · Contrast checker → · Palette generator →

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