#A42F86#A42F86

#A42F86 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.178 H 340.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A42F86
RGBrgb(164, 47, 134)
HSLhsl(315, 55%, 41%)
HSVhsv(315, 71%, 64%)
CMYKcmyk(0%, 71.3%, 18.3%, 35.7%)
CIE-LABlab(40.65, 56.29, -22.65)
CIE-LCHlch(40.65, 60.68, 338.08°)
OKLaboklab(51.19% 0.1676 -0.0611)
OKLCHoklch(51.19% 0.178 340)
XYZxyz(20.6300, 11.6487, 23.7116)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42F86 #2FA44D
analogous
#882FA4 #A42F86 #A42F4C
triadic
#A42F86 #86A42F #2F86A4
tetradic
#A42F86 #A4882F #2FA44D #2F4CA4
square
#A42F86 #A4882F #2FA44D #2F4CA4
split-complementary
#A42F86 #4CA42F #2FA488
monochromatic
#451438 #74215F #A42F86 #CA46A8 #D876BF

Accessibility & contrast

On white

6.31
#A42F86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A42F86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42F86
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42F86#FFFFFF#000000##FFFFFF
##A42F861.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375488
Deuteranopia (green-blind)
#5C6783
Tritanopia (blue-blind)
#AE3356
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42f86;
/* rgb */ color: rgb(164, 47, 134);
/* oklch */ color: oklch(51.2% 0.178 340.0);
Tailwind
colors: {
  custom: {
    50: '#c372a9',
    500: '#a42f86',
    950: '#000000',
  },
}
SCSS
$custom: #a42f86;
$custom-light: #c372a9;
$custom-dark: #000000;
JSON
{
  "hex": "#a42f86",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 315.385,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51194,
    "c": 0.17841,
    "h": 340
  },
  "luminance": 0.11647
}

Semantic roles & 50–950 ramp

primary
#A42F86
secondary
#6FC084
accent
#DF6F49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A42F86

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

Preview Lab → · Contrast checker → · Palette generator →

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