#A42C81#A42C81

#A42C81 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.179 H 342.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A42C81
RGBrgb(164, 44, 129)
HSLhsl(318, 58%, 41%)
HSVhsv(318, 73%, 64%)
CMYKcmyk(0%, 73.2%, 21.3%, 35.7%)
CIE-LABlab(40.05, 56.66, -20.51)
CIE-LCHlch(40.05, 60.26, 340.10°)
OKLaboklab(50.68% 0.17 -0.055)
OKLCHoklch(50.68% 0.179 342.1)
XYZxyz(20.1736, 11.2809, 21.8796)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42C81 #2CA44F
analogous
#8B2CA4 #A42C81 #A42C45
triadic
#A42C81 #81A42C #2C81A4
tetradic
#A42C81 #A48B2C #2CA44F #2C45A4
square
#A42C81 #A48B2C #2CA44F #2C45A4
split-complementary
#A42C81 #45A42C #2CA48B
monochromatic
#431235 #741F5B #A42C81 #CC41A4 #D971BB

Accessibility & contrast

On white

6.45
#A42C81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A42C81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42C81
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42C81#FFFFFF#000000##FFFFFF
##A42C811.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375283
Deuteranopia (green-blind)
#5C657E
Tritanopia (blue-blind)
#AE2D53
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42c81;
/* rgb */ color: rgb(164, 44, 129);
/* oklch */ color: oklch(50.7% 0.179 342.1);
Tailwind
colors: {
  custom: {
    50: '#c370a5',
    500: '#a42c81',
    950: '#000000',
  },
}
SCSS
$custom: #a42c81;
$custom-light: #c370a5;
$custom-dark: #000000;
JSON
{
  "hex": "#a42c81",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 129
  },
  "hsl": {
    "h": 317.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50684,
    "c": 0.17872,
    "h": 342.1
  },
  "luminance": 0.11279
}

Semantic roles & 50–950 ramp

primary
#A42C81
secondary
#6BC084
accent
#E17447
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42C81

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

Preview Lab → · Contrast checker → · Palette generator →

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