#A42788#A42788

#A42788 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.6% C 0.189 H 338.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A42788
RGBrgb(164, 39, 136)
HSLhsl(313, 62%, 40%)
HSVhsv(313, 76%, 64%)
CMYKcmyk(0%, 76.2%, 17.1%, 35.7%)
CIE-LABlab(39.79, 59.29, -25.22)
CIE-LCHlch(39.79, 64.44, 336.96°)
OKLaboklab(50.6% 0.1761 -0.0683)
OKLCHoklch(50.6% 0.189 338.8)
XYZxyz(20.4798, 11.1231, 24.3562)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42788 #27A443
analogous
#8227A4 #A42788 #A4274A
triadic
#A42788 #88A427 #2788A4
tetradic
#A42788 #A48227 #27A443 #274AA4
square
#A42788 #A48227 #27A443 #274AA4
split-complementary
#A42788 #4AA427 #27A482
monochromatic
#410F36 #731B5F #A42788 #D038AE #DC6AC2

Accessibility & contrast

On white

6.51
#A42788 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A42788 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42788
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42788#FFFFFF#000000##FFFFFF
##A427881.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E518B
Deuteranopia (green-blind)
#586585
Tritanopia (blue-blind)
#AD2D55
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42788;
/* rgb */ color: rgb(164, 39, 136);
/* oklch */ color: oklch(50.6% 0.189 338.8);
Tailwind
colors: {
  custom: {
    50: '#c36fab',
    500: '#a42788',
    950: '#000000',
  },
}
SCSS
$custom: #a42788;
$custom-light: #c36fab;
$custom-dark: #000000;
JSON
{
  "hex": "#a42788",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 136
  },
  "hsl": {
    "h": 313.44,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50598,
    "c": 0.18889,
    "h": 338.8
  },
  "luminance": 0.11121
}

Semantic roles & 50–950 ramp

primary
#A42788
secondary
#65C27A
accent
#E56743
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42788

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

Preview Lab → · Contrast checker → · Palette generator →

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