#A42A85#A42A85

#A42A85 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.184 H 340.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A42A85
RGBrgb(164, 42, 133)
HSLhsl(315, 59%, 40%)
HSVhsv(315, 74%, 64%)
CMYKcmyk(0%, 74.4%, 18.9%, 35.7%)
CIE-LABlab(39.99, 57.90, -23.07)
CIE-LCHlch(39.99, 62.32, 338.28°)
OKLaboklab(50.7% 0.1727 -0.0622)
OKLCHoklch(50.7% 0.184 340.2)
XYZxyz(20.3720, 11.2439, 23.2832)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A85 #2AA449
analogous
#862AA4 #A42A85 #A42A48
triadic
#A42A85 #85A42A #2A85A4
tetradic
#A42A85 #A4862A #2AA449 #2A48A4
square
#A42A85 #A4862A #2AA449 #2A48A4
split-complementary
#A42A85 #48A42A #2AA486
monochromatic
#431136 #731E5D #A42A85 #CD3EA9 #DA6EBF

Accessibility & contrast

On white

6.46
#A42A85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A42A85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A85
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A85#FFFFFF#000000##FFFFFF
##A42A851.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335287
Deuteranopia (green-blind)
#5A6582
Tritanopia (blue-blind)
#AE2E54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42a85;
/* rgb */ color: rgb(164, 42, 133);
/* oklch */ color: oklch(50.7% 0.184 340.2);
Tailwind
colors: {
  custom: {
    50: '#c370a8',
    500: '#a42a85',
    950: '#000000',
  },
}
SCSS
$custom: #a42a85;
$custom-light: #c370a8;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a85",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 315.246,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50698,
    "c": 0.18362,
    "h": 340.2
  },
  "luminance": 0.11242
}

Semantic roles & 50–950 ramp

primary
#A42A85
secondary
#69C17F
accent
#E26D45
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42A85

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

Preview Lab → · Contrast checker → · Palette generator →

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