#A42C99#A42C99

#A42C99 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.9% C 0.196 H 332.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A42C99
RGBrgb(164, 44, 153)
HSLhsl(306, 58%, 41%)
HSVhsv(306, 73%, 64%)
CMYKcmyk(0%, 73.2%, 6.7%, 35.7%)
CIE-LABlab(41.21, 60.22, -33.34)
CIE-LCHlch(41.21, 68.83, 331.03°)
OKLaboklab(51.9% 0.1727 -0.0917)
OKLCHoklch(51.9% 0.196 332)
XYZxyz(21.9603, 11.9956, 31.2896)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42C99 #2CA437
analogous
#732CA4 #A42C99 #A42C5D
triadic
#A42C99 #99A42C #2C99A4
tetradic
#A42C99 #A4732C #2CA437 #2C5DA4
square
#A42C99 #A4732C #2CA437 #2C5DA4
split-complementary
#A42C99 #5DA42C #2CA473
monochromatic
#43123F #741F6C #A42C99 #CC41BF #D971D0

Accessibility & contrast

On white

6.18
#A42C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A42C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42C99
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42C99#FFFFFF#000000##FFFFFF
##A42C991.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42c99;
/* rgb */ color: rgb(164, 44, 153);
/* oklch */ color: oklch(51.9% 0.196 332.0);
Tailwind
colors: {
  custom: {
    50: '#c371b7',
    500: '#a42c99',
    950: '#000000',
  },
}
SCSS
$custom: #a42c99;
$custom-light: #c371b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a42c99",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 305.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51899,
    "c": 0.19555,
    "h": 332
  },
  "luminance": 0.11994
}

Semantic roles & 50–950 ramp

primary
#A42C99
secondary
#6BC073
accent
#E15547
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A42C99

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

Preview Lab → · Contrast checker → · Palette generator →

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