#A42E89#A42E89

#A42E89 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.182 H 338.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A42E89
RGBrgb(164, 46, 137)
HSLhsl(314, 56%, 41%)
HSVhsv(314, 72%, 64%)
CMYKcmyk(0%, 72%, 16.5%, 35.7%)
CIE-LABlab(40.66, 57.09, -24.47)
CIE-LCHlch(40.66, 62.11, 336.80°)
OKLaboklab(51.25% 0.1692 -0.0663)
OKLCHoklch(51.25% 0.182 338.6)
XYZxyz(20.8027, 11.6546, 24.8160)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42E89 #2EA449
analogous
#842EA4 #A42E89 #A42E4E
triadic
#A42E89 #89A42E #2E89A4
tetradic
#A42E89 #A4842E #2EA449 #2E4EA4
square
#A42E89 #A4842E #2EA449 #2E4EA4
split-complementary
#A42E89 #4EA42E #2EA484
monochromatic
#441339 #742161 #A42E89 #CB45AC #D874C1

Accessibility & contrast

On white

6.31
#A42E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A42E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42E89
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42E89#FFFFFF#000000##FFFFFF
##A42E891.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34548C
Deuteranopia (green-blind)
#5A6686
Tritanopia (blue-blind)
#AD3358
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42e89;
/* rgb */ color: rgb(164, 46, 137);
/* oklch */ color: oklch(51.2% 0.182 338.6);
Tailwind
colors: {
  custom: {
    50: '#c372ab',
    500: '#a42e89',
    950: '#000000',
  },
}
SCSS
$custom: #a42e89;
$custom-light: #c372ab;
$custom-dark: #000000;
JSON
{
  "hex": "#a42e89",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 313.729,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51246,
    "c": 0.18167,
    "h": 338.6
  },
  "luminance": 0.11653
}

Semantic roles & 50–950 ramp

primary
#A42E89
secondary
#6EC081
accent
#DF6B48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42E89

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

Preview Lab → · Contrast checker → · Palette generator →

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