#A42F72#A42F72

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

Color values

HEX#A42F72
RGBrgb(164, 47, 114)
HSLhsl(326, 55%, 41%)
HSVhsv(326, 71%, 64%)
CMYKcmyk(0%, 71.3%, 30.5%, 35.7%)
CIE-LABlab(39.82, 53.61, -11.55)
CIE-LCHlch(39.82, 54.84, 347.84°)
OKLaboklab(50.32% 0.1634 -0.0302)
OKLCHoklch(50.32% 0.166 349.5)
XYZxyz(19.3646, 11.1426, 17.0473)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42F72 #2FA461
analogous
#9C2FA4 #A42F72 #A42F38
triadic
#A42F72 #72A42F #2F72A4
tetradic
#A42F72 #A49C2F #2FA461 #2F38A4
square
#A42F72 #A49C2F #2FA461 #2F38A4
split-complementary
#A42F72 #38A42F #2FA49C
monochromatic
#451430 #742151 #A42F72 #CA4692 #D876AE

Accessibility & contrast

On white

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

On black

3.23
#A42F72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A42F72#FFFFFF#000000##FFFFFF
##A42F721.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42f72;
/* rgb */ color: rgb(164, 47, 114);
/* oklch */ color: oklch(50.3% 0.166 349.5);
Tailwind
colors: {
  custom: {
    50: '#c3719a',
    500: '#a42f72',
    950: '#000000',
  },
}
SCSS
$custom: #a42f72;
$custom-light: #c3719a;
$custom-dark: #000000;
JSON
{
  "hex": "#a42f72",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 325.641,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50315,
    "c": 0.16619,
    "h": 349.5
  },
  "luminance": 0.1114
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A42F72

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

Preview Lab → · Contrast checker → · Palette generator →

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