#A42188#A42188

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

Color values

HEX#A42188
RGBrgb(164, 33, 136)
HSLhsl(313, 66%, 39%)
HSVhsv(313, 80%, 64%)
CMYKcmyk(0%, 79.9%, 17.1%, 35.7%)
CIE-LABlab(39.17, 61.05, -26.18)
CIE-LCHlch(39.17, 66.43, 336.79°)
OKLaboklab(50.16% 0.1814 -0.071)
OKLCHoklch(50.16% 0.195 338.6)
XYZxyz(20.2982, 10.7598, 24.2956)
Luminance0.1076 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42188 #21A43D
analogous
#7E21A4 #A42188 #A42147
triadic
#A42188 #88A421 #2188A4
tetradic
#A42188 #A47E21 #21A43D #2147A4
square
#A42188 #A47E21 #21A43D #2147A4
split-complementary
#A42188 #47A421 #21A47E
monochromatic
#3E0C33 #71175E #A42188 #D52DB1 #DF60C4

Accessibility & contrast

On white

6.66
#A42188 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A42188 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42188
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42188#FFFFFF#000000##FFFFFF
##A421881.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294F8B
Deuteranopia (green-blind)
#566385
Tritanopia (blue-blind)
#AE2853
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a42188;
/* rgb */ color: rgb(164, 33, 136);
/* oklch */ color: oklch(50.2% 0.195 338.6);
Tailwind
colors: {
  custom: {
    50: '#c36cab',
    500: '#a42188',
    950: '#000000',
  },
}
SCSS
$custom: #a42188;
$custom-light: #c36cab;
$custom-dark: #000000;
JSON
{
  "hex": "#a42188",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 312.824,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50156,
    "c": 0.19481,
    "h": 338.6
  },
  "luminance": 0.10758
}

Semantic roles & 50–950 ramp

primary
#A42188
secondary
#5DC473
accent
#E9633E
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42188

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

Preview Lab → · Contrast checker → · Palette generator →

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