#A42189#A42189

#A42189 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.2% C 0.195 H 338.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A42189
RGBrgb(164, 33, 137)
HSLhsl(312, 66%, 39%)
HSVhsv(312, 80%, 64%)
CMYKcmyk(0%, 79.9%, 16.5%, 35.7%)
CIE-LABlab(39.22, 61.19, -26.72)
CIE-LCHlch(39.22, 66.77, 336.41°)
OKLaboklab(50.21% 0.1815 -0.0726)
OKLCHoklch(50.21% 0.195 338.2)
XYZxyz(20.3695, 10.7884, 24.6717)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42189 #21A43C
analogous
#7D21A4 #A42189 #A42148
triadic
#A42189 #89A421 #2189A4
tetradic
#A42189 #A47D21 #21A43C #2148A4
square
#A42189 #A47D21 #21A43C #2148A4
split-complementary
#A42189 #48A421 #21A47D
monochromatic
#3E0C34 #71175E #A42189 #D52DB2 #DF60C5

Accessibility & contrast

On white

6.65
#A42189 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A42189 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42189
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42189#FFFFFF#000000##FFFFFF
##A421891.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508C
Deuteranopia (green-blind)
#566386
Tritanopia (blue-blind)
#AD2954
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a42189;
/* rgb */ color: rgb(164, 33, 137);
/* oklch */ color: oklch(50.2% 0.195 338.2);
Tailwind
colors: {
  custom: {
    50: '#c36cab',
    500: '#a42189',
    950: '#000000',
  },
}
SCSS
$custom: #a42189;
$custom-light: #c36cab;
$custom-dark: #000000;
JSON
{
  "hex": "#a42189",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 312.366,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50206,
    "c": 0.19547,
    "h": 338.2
  },
  "luminance": 0.10786
}

Semantic roles & 50–950 ramp

primary
#A42189
secondary
#5DC472
accent
#E9623E
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42189

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

Preview Lab → · Contrast checker → · Palette generator →

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