#A42C7F#A42C7F

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

Color values

HEX#A42C7F
RGBrgb(164, 44, 127)
HSLhsl(319, 58%, 41%)
HSVhsv(319, 73%, 64%)
CMYKcmyk(0%, 73.2%, 22.6%, 35.7%)
CIE-LABlab(39.96, 56.39, -19.41)
CIE-LCHlch(39.96, 59.63, 341.01°)
OKLaboklab(50.59% 0.1697 -0.0519)
OKLCHoklch(50.59% 0.177 343)
XYZxyz(20.0420, 11.2282, 21.1863)
Luminance0.1123 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42C7F #2CA451
analogous
#8D2CA4 #A42C7F #A42C43
triadic
#A42C7F #7FA42C #2C7FA4
tetradic
#A42C7F #A48D2C #2CA451 #2C43A4
square
#A42C7F #A48D2C #2CA451 #2C43A4
split-complementary
#A42C7F #43A42C #2CA48D
monochromatic
#431234 #741F5A #A42C7F #CC41A1 #D971B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A42C7F#FFFFFF#000000##FFFFFF
##A42C7F1.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)
#385281
Deuteranopia (green-blind)
#5D657C
Tritanopia (blue-blind)
#AF2C52
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42c7f;
/* rgb */ color: rgb(164, 44, 127);
/* oklch */ color: oklch(50.6% 0.177 343.0);
Tailwind
colors: {
  custom: {
    50: '#c370a4',
    500: '#a42c7f',
    950: '#000000',
  },
}
SCSS
$custom: #a42c7f;
$custom-light: #c370a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a42c7f",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 127
  },
  "hsl": {
    "h": 318.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50592,
    "c": 0.17744,
    "h": 343
  },
  "luminance": 0.11226
}

Semantic roles & 50–950 ramp

primary
#A42C7F
secondary
#6BC086
accent
#E17647
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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