#A42F74#A42F74

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

Color values

HEX#A42F74
RGBrgb(164, 47, 116)
HSLhsl(325, 55%, 41%)
HSVhsv(325, 71%, 64%)
CMYKcmyk(0%, 71.3%, 29.3%, 35.7%)
CIE-LABlab(39.90, 53.86, -12.68)
CIE-LCHlch(39.90, 55.33, 346.75°)
OKLaboklab(50.4% 0.1639 -0.0333)
OKLCHoklch(50.4% 0.167 348.5)
XYZxyz(19.4797, 11.1886, 17.6534)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42F74 #2FA45F
analogous
#9A2FA4 #A42F74 #A42F3A
triadic
#A42F74 #74A42F #2F74A4
tetradic
#A42F74 #A49A2F #2FA45F #2F3AA4
square
#A42F74 #A49A2F #2FA45F #2F3AA4
split-complementary
#A42F74 #3AA42F #2FA49A
monochromatic
#451431 #742152 #A42F74 #CA4694 #D876AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A42F74#FFFFFF#000000##FFFFFF
##A42F741.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)
#405176
Deuteranopia (green-blind)
#626571
Tritanopia (blue-blind)
#B02A4D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42f74;
/* rgb */ color: rgb(164, 47, 116);
/* oklch */ color: oklch(50.4% 0.167 348.5);
Tailwind
colors: {
  custom: {
    50: '#c3719c',
    500: '#a42f74',
    950: '#000000',
  },
}
SCSS
$custom: #a42f74;
$custom-light: #c3719c;
$custom-dark: #000000;
JSON
{
  "hex": "#a42f74",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 324.615,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50396,
    "c": 0.16728,
    "h": 348.5
  },
  "luminance": 0.11186
}

Semantic roles & 50–950 ramp

primary
#A42F74
secondary
#6FC090
accent
#DF8649
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A42F74

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

Preview Lab → · Contrast checker → · Palette generator →

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