#A42A83#A42A83

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

Color values

HEX#A42A83
RGBrgb(164, 42, 131)
HSLhsl(316, 59%, 40%)
HSVhsv(316, 74%, 64%)
CMYKcmyk(0%, 74.4%, 20.1%, 35.7%)
CIE-LABlab(39.90, 57.62, -21.98)
CIE-LCHlch(39.90, 61.67, 339.12°)
OKLaboklab(50.6% 0.1725 -0.0592)
OKLCHoklch(50.6% 0.182 341.1)
XYZxyz(20.2352, 11.1892, 22.5624)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A83 #2AA44B
analogous
#882AA4 #A42A83 #A42A46
triadic
#A42A83 #83A42A #2A83A4
tetradic
#A42A83 #A4882A #2AA44B #2A46A4
square
#A42A83 #A4882A #2AA44B #2A46A4
split-complementary
#A42A83 #46A42A #2AA488
monochromatic
#431135 #731E5C #A42A83 #CD3EA7 #DA6EBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A42A83#FFFFFF#000000##FFFFFF
##A42A831.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)
#345185
Deuteranopia (green-blind)
#5B6580
Tritanopia (blue-blind)
#AE2D53
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42a83;
/* rgb */ color: rgb(164, 42, 131);
/* oklch */ color: oklch(50.6% 0.182 341.1);
Tailwind
colors: {
  custom: {
    50: '#c370a7',
    500: '#a42a83',
    950: '#000000',
  },
}
SCSS
$custom: #a42a83;
$custom-light: #c370a7;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a83",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 131
  },
  "hsl": {
    "h": 316.23,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50602,
    "c": 0.18232,
    "h": 341.1
  },
  "luminance": 0.11187
}

Semantic roles & 50–950 ramp

primary
#A42A83
secondary
#69C181
accent
#E27045
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42A83

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

Preview Lab → · Contrast checker → · Palette generator →

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