#A42D8F#A42D8F

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

Color values

HEX#A42D8F
RGBrgb(164, 45, 143)
HSLhsl(311, 57%, 41%)
HSVhsv(311, 73%, 64%)
CMYKcmyk(0%, 72.6%, 12.8%, 35.7%)
CIE-LABlab(40.82, 58.33, -27.89)
CIE-LCHlch(40.82, 64.66, 334.45°)
OKLaboklab(51.46% 0.171 -0.076)
OKLCHoklch(51.46% 0.187 336)
XYZxyz(21.2065, 11.7543, 27.1332)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42D8F #2DA442
analogous
#7D2DA4 #A42D8F #A42D53
triadic
#A42D8F #8FA42D #2D8FA4
tetradic
#A42D8F #A47D2D #2DA442 #2D53A4
square
#A42D8F #A47D2D #2DA442 #2D53A4
split-complementary
#A42D8F #53A42D #2DA47D
monochromatic
#44133B #742065 #A42D8F #CB43B3 #D973C7

Accessibility & contrast

On white

6.27
#A42D8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A42D8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42D8F
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42D8F#FFFFFF#000000##FFFFFF
##A42D8F1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5592
Deuteranopia (green-blind)
#57678C
Tritanopia (blue-blind)
#AC355A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42d8f;
/* rgb */ color: rgb(164, 45, 143);
/* oklch */ color: oklch(51.5% 0.187 336.0);
Tailwind
colors: {
  custom: {
    50: '#c371b0',
    500: '#a42d8f',
    950: '#000000',
  },
}
SCSS
$custom: #a42d8f;
$custom-light: #c371b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a42d8f",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 310.588,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51456,
    "c": 0.18708,
    "h": 336
  },
  "luminance": 0.11752
}

Semantic roles & 50–950 ramp

primary
#A42D8F
secondary
#6DC07B
accent
#E06348
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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