#A42C7C#A42C7C

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

Color values

HEX#A42C7C
RGBrgb(164, 44, 124)
HSLhsl(320, 58%, 41%)
HSVhsv(320, 73%, 64%)
CMYKcmyk(0%, 73.2%, 24.4%, 35.7%)
CIE-LABlab(39.83, 55.98, -17.75)
CIE-LCHlch(39.83, 58.73, 342.41°)
OKLaboklab(50.46% 0.1691 -0.0473)
OKLCHoklch(50.46% 0.176 344.4)
XYZxyz(19.8494, 11.1512, 20.1719)
Luminance0.1115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42C7C #2CA454
analogous
#902CA4 #A42C7C #A42C40
triadic
#A42C7C #7CA42C #2C7CA4
tetradic
#A42C7C #A4902C #2CA454 #2C40A4
square
#A42C7C #A4902C #2CA454 #2C40A4
split-complementary
#A42C7C #40A42C #2CA490
monochromatic
#431233 #741F58 #A42C7C #CC419E #D971B6

Accessibility & contrast

On white

6.50
#A42C7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A42C7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42C7C
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42C7C#FFFFFF#000000##FFFFFF
##A42C7C1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42c7c;
/* rgb */ color: rgb(164, 44, 124);
/* oklch */ color: oklch(50.5% 0.176 344.4);
Tailwind
colors: {
  custom: {
    50: '#c370a2',
    500: '#a42c7c',
    950: '#000000',
  },
}
SCSS
$custom: #a42c7c;
$custom-light: #c370a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a42c7c",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 124
  },
  "hsl": {
    "h": 320,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50456,
    "c": 0.17558,
    "h": 344.4
  },
  "luminance": 0.11149
}

Semantic roles & 50–950 ramp

primary
#A42C7C
secondary
#6BC088
accent
#E17A47
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A42C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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