#A42E88#A42E88

#A42E88 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.181 H 339.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A42E88
RGBrgb(164, 46, 136)
HSLhsl(314, 56%, 41%)
HSVhsv(314, 72%, 64%)
CMYKcmyk(0%, 72%, 17.1%, 35.7%)
CIE-LABlab(40.62, 56.94, -23.93)
CIE-LCHlch(40.62, 61.77, 337.20°)
OKLaboklab(51.2% 0.169 -0.0647)
OKLCHoklch(51.2% 0.181 339)
XYZxyz(20.7313, 11.6260, 24.4400)
Luminance0.1162 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42E88 #2EA44A
analogous
#852EA4 #A42E88 #A42E4D
triadic
#A42E88 #88A42E #2E88A4
tetradic
#A42E88 #A4852E #2EA44A #2E4DA4
square
#A42E88 #A4852E #2EA44A #2E4DA4
split-complementary
#A42E88 #4DA42E #2EA485
monochromatic
#441339 #742160 #A42E88 #CB45AB #D874C0

Accessibility & contrast

On white

6.32
#A42E88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A42E88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42E88
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42E88#FFFFFF#000000##FFFFFF
##A42E881.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34548B
Deuteranopia (green-blind)
#5B6685
Tritanopia (blue-blind)
#AD3357
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42e88;
/* rgb */ color: rgb(164, 46, 136);
/* oklch */ color: oklch(51.2% 0.181 339.0);
Tailwind
colors: {
  custom: {
    50: '#c372ab',
    500: '#a42e88',
    950: '#000000',
  },
}
SCSS
$custom: #a42e88;
$custom-light: #c372ab;
$custom-dark: #000000;
JSON
{
  "hex": "#a42e88",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 314.237,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51197,
    "c": 0.18099,
    "h": 339
  },
  "luminance": 0.11624
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A42E88

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

Preview Lab → · Contrast checker → · Palette generator →

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