#A42B99#A42B99

#A42B99 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.8% C 0.197 H 332.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A42B99
RGBrgb(164, 43, 153)
HSLhsl(305, 58%, 41%)
HSVhsv(305, 74%, 64%)
CMYKcmyk(0%, 73.8%, 6.7%, 35.7%)
CIE-LABlab(41.09, 60.55, -33.53)
CIE-LCHlch(41.09, 69.22, 331.03°)
OKLaboklab(51.82% 0.1737 -0.0922)
OKLCHoklch(51.82% 0.197 332)
XYZxyz(21.9235, 11.9220, 31.2773)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42B99 #2BA436
analogous
#732BA4 #A42B99 #A42B5C
triadic
#A42B99 #99A42B #2B99A4
tetradic
#A42B99 #A4732B #2BA436 #2B5CA4
square
#A42B99 #A4732B #2BA436 #2B5CA4
split-complementary
#A42B99 #5CA42B #2BA473
monochromatic
#43123F #741E6C #A42B99 #CD3FC0 #D970D0

Accessibility & contrast

On white

6.21
#A42B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A42B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42B99
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42B99#FFFFFF#000000##FFFFFF
##A42B991.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42b99;
/* rgb */ color: rgb(164, 43, 153);
/* oklch */ color: oklch(51.8% 0.197 332.0);
Tailwind
colors: {
  custom: {
    50: '#c371b7',
    500: '#a42b99',
    950: '#000000',
  },
}
SCSS
$custom: #a42b99;
$custom-light: #c371b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a42b99",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 305.455,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51815,
    "c": 0.19666,
    "h": 332
  },
  "luminance": 0.1192
}

Semantic roles & 50–950 ramp

primary
#A42B99
secondary
#6AC172
accent
#E25446
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42B99

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

Preview Lab → · Contrast checker → · Palette generator →

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