#A42C7A#A42C7A

#A42C7A is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.174 H 345.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A42C7A
RGBrgb(164, 44, 122)
HSLhsl(321, 58%, 41%)
HSVhsv(321, 73%, 64%)
CMYKcmyk(0%, 73.2%, 25.6%, 35.7%)
CIE-LABlab(39.75, 55.72, -16.64)
CIE-LCHlch(39.75, 58.15, 343.37°)
OKLaboklab(50.37% 0.1687 -0.0442)
OKLCHoklch(50.37% 0.174 345.3)
XYZxyz(19.7242, 11.1011, 19.5126)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42C7A #2CA456
analogous
#922CA4 #A42C7A #A42C3E
triadic
#A42C7A #7AA42C #2C7AA4
tetradic
#A42C7A #A4922C #2CA456 #2C3EA4
square
#A42C7A #A4922C #2CA456 #2C3EA4
split-complementary
#A42C7A #3EA42C #2CA492
monochromatic
#431232 #741F56 #A42C7A #CC419B #D971B5

Accessibility & contrast

On white

6.52
#A42C7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A42C7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42C7A
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42C7A#FFFFFF#000000##FFFFFF
##A42C7A1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517C
Deuteranopia (green-blind)
#5F6577
Tritanopia (blue-blind)
#AF2A4F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42c7a;
/* rgb */ color: rgb(164, 44, 122);
/* oklch */ color: oklch(50.4% 0.174 345.3);
Tailwind
colors: {
  custom: {
    50: '#c370a0',
    500: '#a42c7a',
    950: '#000000',
  },
}
SCSS
$custom: #a42c7a;
$custom-light: #c370a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a42c7a",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 122
  },
  "hsl": {
    "h": 321,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50368,
    "c": 0.17438,
    "h": 345.3
  },
  "luminance": 0.11099
}

Semantic roles & 50–950 ramp

primary
#A42C7A
secondary
#6BC089
accent
#E17D47
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A42C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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