#A42D7C#A42D7C

#A42D7C is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.174 H 344.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A42D7C
RGBrgb(164, 45, 124)
HSLhsl(320, 57%, 41%)
HSVhsv(320, 73%, 64%)
CMYKcmyk(0%, 72.6%, 24.4%, 35.7%)
CIE-LABlab(39.96, 55.63, -17.56)
CIE-LCHlch(39.96, 58.33, 342.49°)
OKLaboklab(50.55% 0.168 -0.0468)
OKLCHoklch(50.55% 0.174 344.4)
XYZxyz(19.8871, 11.2266, 20.1845)
Luminance0.1123 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42D7C #2DA455
analogous
#902DA4 #A42D7C #A42D40
triadic
#A42D7C #7CA42D #2D7CA4
tetradic
#A42D7C #A4902D #2DA455 #2D40A4
square
#A42D7C #A4902D #2DA455 #2D40A4
split-complementary
#A42D7C #40A42D #2DA490
monochromatic
#441333 #742058 #A42D7C #CB439D #D973B6

Accessibility & contrast

On white

6.47
#A42D7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A42D7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42D7C
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42D7C#FFFFFF#000000##FFFFFF
##A42D7C1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517E
Deuteranopia (green-blind)
#5E6579
Tritanopia (blue-blind)
#AF2C50
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42d7c;
/* rgb */ color: rgb(164, 45, 124);
/* oklch */ color: oklch(50.5% 0.174 344.4);
Tailwind
colors: {
  custom: {
    50: '#c371a2',
    500: '#a42d7c',
    950: '#000000',
  },
}
SCSS
$custom: #a42d7c;
$custom-light: #c371a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a42d7c",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 320.168,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50548,
    "c": 0.17439,
    "h": 344.4
  },
  "luminance": 0.11225
}

Semantic roles & 50–950 ramp

primary
#A42D7C
secondary
#6DC089
accent
#E07B48
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A42D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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