#A42D90#A42D90

#A42D90 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.5% C 0.188 H 335.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A42D90
RGBrgb(164, 45, 144)
HSLhsl(310, 57%, 41%)
HSVhsv(310, 73%, 64%)
CMYKcmyk(0%, 72.6%, 12.2%, 35.7%)
CIE-LABlab(40.87, 58.48, -28.42)
CIE-LCHlch(40.87, 65.02, 334.08°)
OKLaboklab(51.51% 0.1711 -0.0775)
OKLCHoklch(51.51% 0.188 335.6)
XYZxyz(21.2826, 11.7848, 27.5340)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42D90 #2DA441
analogous
#7C2DA4 #A42D90 #A42D54
triadic
#A42D90 #90A42D #2D90A4
tetradic
#A42D90 #A47C2D #2DA441 #2D54A4
square
#A42D90 #A47C2D #2DA441 #2D54A4
split-complementary
#A42D90 #54A42D #2DA47C
monochromatic
#44133C #742066 #A42D90 #CB43B4 #D973C7

Accessibility & contrast

On white

6.26
#A42D90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A42D90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42D90
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42D90#FFFFFF#000000##FFFFFF
##A42D901.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5593
Deuteranopia (green-blind)
#57678D
Tritanopia (blue-blind)
#AC365B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42d90;
/* rgb */ color: rgb(164, 45, 144);
/* oklch */ color: oklch(51.5% 0.188 335.6);
Tailwind
colors: {
  custom: {
    50: '#c371b1',
    500: '#a42d90',
    950: '#000000',
  },
}
SCSS
$custom: #a42d90;
$custom-light: #c371b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a42d90",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 310.084,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51507,
    "c": 0.1878,
    "h": 335.6
  },
  "luminance": 0.11783
}

Semantic roles & 50–950 ramp

primary
#A42D90
secondary
#6DC07B
accent
#E06148
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42D90

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

Preview Lab → · Contrast checker → · Palette generator →

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