#A42F80#A42F80

#A42F80 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.174 H 342.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A42F80
RGBrgb(164, 47, 128)
HSLhsl(318, 55%, 41%)
HSVhsv(318, 71%, 64%)
CMYKcmyk(0%, 71.3%, 22%, 35.7%)
CIE-LABlab(40.39, 55.45, -19.37)
CIE-LCHlch(40.39, 58.73, 340.74°)
OKLaboklab(50.92% 0.1666 -0.0519)
OKLCHoklch(50.92% 0.174 342.7)
XYZxyz(20.2233, 11.4861, 21.5699)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42F80 #2FA453
analogous
#8E2FA4 #A42F80 #A42F46
triadic
#A42F80 #80A42F #2F80A4
tetradic
#A42F80 #A48E2F #2FA453 #2F46A4
square
#A42F80 #A48E2F #2FA453 #2F46A4
split-complementary
#A42F80 #46A42F #2FA48E
monochromatic
#451436 #74215B #A42F80 #CA46A1 #D876BA

Accessibility & contrast

On white

6.37
#A42F80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42F80
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42F80#FFFFFF#000000##FFFFFF
##A42F801.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5382
Deuteranopia (green-blind)
#5E667D
Tritanopia (blue-blind)
#AE3053
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a42f80;
/* rgb */ color: rgb(164, 47, 128);
/* oklch */ color: oklch(50.9% 0.174 342.7);
Tailwind
colors: {
  custom: {
    50: '#c372a5',
    500: '#a42f80',
    950: '#000000',
  },
}
SCSS
$custom: #a42f80;
$custom-light: #c372a5;
$custom-dark: #000000;
JSON
{
  "hex": "#a42f80",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 318.462,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50915,
    "c": 0.17446,
    "h": 342.7
  },
  "luminance": 0.11484
}

Semantic roles & 50–950 ramp

primary
#A42F80
secondary
#6FC088
accent
#DF7749
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42F80

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

Preview Lab → · Contrast checker → · Palette generator →

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