#A42989#A42989

#A42989 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.8% C 0.187 H 338.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A42989
RGBrgb(164, 41, 137)
HSLhsl(313, 60%, 40%)
HSVhsv(313, 75%, 64%)
CMYKcmyk(0%, 75%, 16.5%, 35.7%)
CIE-LABlab(40.06, 58.80, -25.41)
CIE-LCHlch(40.06, 64.05, 336.63°)
OKLaboklab(50.81% 0.1743 -0.0689)
OKLCHoklch(50.81% 0.187 338.4)
XYZxyz(20.6186, 11.2865, 24.7547)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42989 #29A444
analogous
#8229A4 #A42989 #A4294B
triadic
#A42989 #89A429 #2989A4
tetradic
#A42989 #A48229 #29A444 #294BA4
square
#A42989 #A48229 #29A444 #294BA4
split-complementary
#A42989 #4BA429 #29A482
monochromatic
#421137 #731D60 #A42989 #CE3CAE #DA6DC2

Accessibility & contrast

On white

6.45
#A42989 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A42989 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42989
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42989#FFFFFF#000000##FFFFFF
##A429891.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42989;
/* rgb */ color: rgb(164, 41, 137);
/* oklch */ color: oklch(50.8% 0.187 338.4);
Tailwind
colors: {
  custom: {
    50: '#c370ab',
    500: '#a42989',
    950: '#000000',
  },
}
SCSS
$custom: #a42989;
$custom-light: #c370ab;
$custom-dark: #000000;
JSON
{
  "hex": "#a42989",
  "rgb": {
    "r": 164,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 313.171,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5081,
    "c": 0.18742,
    "h": 338.4
  },
  "luminance": 0.11285
}

Semantic roles & 50–950 ramp

primary
#A42989
secondary
#68C17B
accent
#E36745
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42989

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

Preview Lab → · Contrast checker → · Palette generator →

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