#A42C8F#A42C8F

#A42C8F is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.4% C 0.188 H 336.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A42C8F
RGBrgb(164, 44, 143)
HSLhsl(311, 58%, 41%)
HSVhsv(311, 73%, 64%)
CMYKcmyk(0%, 73.2%, 12.8%, 35.7%)
CIE-LABlab(40.70, 58.68, -28.08)
CIE-LCHlch(40.70, 65.05, 334.43°)
OKLaboklab(51.37% 0.172 -0.0765)
OKLCHoklch(51.37% 0.188 336)
XYZxyz(21.1688, 11.6789, 27.1207)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42C8F #2CA441
analogous
#7D2CA4 #A42C8F #A42C53
triadic
#A42C8F #8FA42C #2C8FA4
tetradic
#A42C8F #A47D2C #2CA441 #2C53A4
square
#A42C8F #A47D2C #2CA441 #2C53A4
split-complementary
#A42C8F #53A42C #2CA47D
monochromatic
#43123B #741F65 #A42C8F #CC41B4 #D971C7

Accessibility & contrast

On white

6.30
#A42C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A42C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42C8F
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42C8F#FFFFFF#000000##FFFFFF
##A42C8F1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5492
Deuteranopia (green-blind)
#57668C
Tritanopia (blue-blind)
#AC345A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42c8f;
/* rgb */ color: rgb(164, 44, 143);
/* oklch */ color: oklch(51.4% 0.188 336.0);
Tailwind
colors: {
  custom: {
    50: '#c371b0',
    500: '#a42c8f',
    950: '#000000',
  },
}
SCSS
$custom: #a42c8f;
$custom-light: #c371b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a42c8f",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 310.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51368,
    "c": 0.18823,
    "h": 336
  },
  "luminance": 0.11677
}

Semantic roles & 50–950 ramp

primary
#A42C8F
secondary
#6BC07A
accent
#E16247
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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