#A42789#A42789

#A42789 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.190 H 338.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A42789
RGBrgb(164, 39, 137)
HSLhsl(313, 62%, 40%)
HSVhsv(313, 76%, 64%)
CMYKcmyk(0%, 76.2%, 16.5%, 35.7%)
CIE-LABlab(39.83, 59.44, -25.76)
CIE-LCHlch(39.83, 64.78, 336.57°)
OKLaboklab(50.65% 0.1762 -0.0699)
OKLCHoklch(50.65% 0.19 338.4)
XYZxyz(20.5512, 11.1517, 24.7322)
Luminance0.1115 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42789 #27A442
analogous
#8127A4 #A42789 #A4274B
triadic
#A42789 #89A427 #2789A4
tetradic
#A42789 #A48127 #27A442 #274BA4
square
#A42789 #A48127 #27A442 #274BA4
split-complementary
#A42789 #4BA427 #27A481
monochromatic
#410F36 #731B60 #A42789 #D038AF #DC6AC3

Accessibility & contrast

On white

6.50
#A42789 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A42789 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42789
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42789#FFFFFF#000000##FFFFFF
##A427891.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42789;
/* rgb */ color: rgb(164, 39, 137);
/* oklch */ color: oklch(50.6% 0.190 338.4);
Tailwind
colors: {
  custom: {
    50: '#c36fab',
    500: '#a42789',
    950: '#000000',
  },
}
SCSS
$custom: #a42789;
$custom-light: #c36fab;
$custom-dark: #000000;
JSON
{
  "hex": "#a42789",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 137
  },
  "hsl": {
    "h": 312.96,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50648,
    "c": 0.18956,
    "h": 338.4
  },
  "luminance": 0.1115
}

Semantic roles & 50–950 ramp

primary
#A42789
secondary
#65C279
accent
#E56643
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42789

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

Preview Lab → · Contrast checker → · Palette generator →

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