#A42F71#A42F71

#A42F71 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.166 H 350.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A42F71
RGBrgb(164, 47, 113)
HSLhsl(326, 55%, 41%)
HSVhsv(326, 71%, 64%)
CMYKcmyk(0%, 71.3%, 31.1%, 35.7%)
CIE-LABlab(39.78, 53.49, -10.99)
CIE-LCHlch(39.78, 54.60, 348.39°)
OKLaboklab(50.27% 0.1632 -0.0286)
OKLCHoklch(50.27% 0.166 350)
XYZxyz(19.3080, 11.1200, 16.7491)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42F71 #2FA462
analogous
#9D2FA4 #A42F71 #A42F37
triadic
#A42F71 #71A42F #2F71A4
tetradic
#A42F71 #A49D2F #2FA462 #2F37A4
square
#A42F71 #A49D2F #2FA462 #2F37A4
split-complementary
#A42F71 #37A42F #2FA49D
monochromatic
#45142F #742150 #A42F71 #CA4691 #D876AD

Accessibility & contrast

On white

6.51
#A42F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A42F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42F71
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42F71#FFFFFF#000000##FFFFFF
##A42F711.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415073
Deuteranopia (green-blind)
#62656E
Tritanopia (blue-blind)
#B0294C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42f71;
/* rgb */ color: rgb(164, 47, 113);
/* oklch */ color: oklch(50.3% 0.166 350.0);
Tailwind
colors: {
  custom: {
    50: '#c37199',
    500: '#a42f71',
    950: '#000000',
  },
}
SCSS
$custom: #a42f71;
$custom-light: #c37199;
$custom-dark: #000000;
JSON
{
  "hex": "#a42f71",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 326.154,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50274,
    "c": 0.16566,
    "h": 350
  },
  "luminance": 0.11118
}

Semantic roles & 50–950 ramp

primary
#A42F71
secondary
#6FC092
accent
#DF8A49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A42F71

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

Preview Lab → · Contrast checker → · Palette generator →

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