#A42C7D#A42C7D

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

Color values

HEX#A42C7D
RGBrgb(164, 44, 125)
HSLhsl(320, 58%, 41%)
HSVhsv(320, 73%, 64%)
CMYKcmyk(0%, 73.2%, 23.8%, 35.7%)
CIE-LABlab(39.88, 56.12, -18.30)
CIE-LCHlch(39.88, 59.03, 341.94°)
OKLaboklab(50.5% 0.1693 -0.0488)
OKLCHoklch(50.5% 0.176 343.9)
XYZxyz(19.9129, 11.1766, 20.5067)
Luminance0.1118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42C7D #2CA453
analogous
#8F2CA4 #A42C7D #A42C41
triadic
#A42C7D #7DA42C #2C7DA4
tetradic
#A42C7D #A48F2C #2CA453 #2C41A4
square
#A42C7D #A48F2C #2CA453 #2C41A4
split-complementary
#A42C7D #41A42C #2CA48F
monochromatic
#431233 #741F58 #A42C7D #CC419F #D971B7

Accessibility & contrast

On white

6.49
#A42C7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A42C7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42C7D
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42C7D#FFFFFF#000000##FFFFFF
##A42C7D1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39517F
Deuteranopia (green-blind)
#5E657A
Tritanopia (blue-blind)
#AF2B51
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42c7d;
/* rgb */ color: rgb(164, 44, 125);
/* oklch */ color: oklch(50.5% 0.176 343.9);
Tailwind
colors: {
  custom: {
    50: '#c370a2',
    500: '#a42c7d',
    950: '#000000',
  },
}
SCSS
$custom: #a42c7d;
$custom-light: #c370a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a42c7d",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 319.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50501,
    "c": 0.1762,
    "h": 343.9
  },
  "luminance": 0.11175
}

Semantic roles & 50–950 ramp

primary
#A42C7D
secondary
#6BC087
accent
#E17947
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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