#A42F81#A42F81

#A42F81 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.175 H 342.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A42F81
RGBrgb(164, 47, 129)
HSLhsl(318, 55%, 41%)
HSVhsv(318, 71%, 64%)
CMYKcmyk(0%, 71.3%, 21.3%, 35.7%)
CIE-LABlab(40.43, 55.59, -19.92)
CIE-LCHlch(40.43, 59.05, 340.29°)
OKLaboklab(50.96% 0.1668 -0.0534)
OKLCHoklch(50.96% 0.175 342.2)
XYZxyz(20.2895, 11.5125, 21.9182)
Luminance0.1151 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42F81 #2FA452
analogous
#8D2FA4 #A42F81 #A42F47
triadic
#A42F81 #81A42F #2F81A4
tetradic
#A42F81 #A48D2F #2FA452 #2F47A4
square
#A42F81 #A48D2F #2FA452 #2F47A4
split-complementary
#A42F81 #47A42F #2FA48D
monochromatic
#451436 #74215C #A42F81 #CA46A3 #D876BA

Accessibility & contrast

On white

6.36
#A42F81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A42F81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42F81
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42F81#FFFFFF#000000##FFFFFF
##A42F811.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395383
Deuteranopia (green-blind)
#5E667E
Tritanopia (blue-blind)
#AE3054
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a42f81;
/* rgb */ color: rgb(164, 47, 129);
/* oklch */ color: oklch(51.0% 0.175 342.2);
Tailwind
colors: {
  custom: {
    50: '#c372a5',
    500: '#a42f81',
    950: '#000000',
  },
}
SCSS
$custom: #a42f81;
$custom-light: #c372a5;
$custom-dark: #000000;
JSON
{
  "hex": "#a42f81",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 129
  },
  "hsl": {
    "h": 317.949,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50961,
    "c": 0.1751,
    "h": 342.2
  },
  "luminance": 0.11511
}

Semantic roles & 50–950 ramp

primary
#A42F81
secondary
#6FC087
accent
#DF7649
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42F81

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

Preview Lab → · Contrast checker → · Palette generator →

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