#A42B81#A42B81

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

Color values

HEX#A42B81
RGBrgb(164, 43, 129)
HSLhsl(317, 58%, 41%)
HSVhsv(317, 74%, 64%)
CMYKcmyk(0%, 73.8%, 21.3%, 35.7%)
CIE-LABlab(39.93, 57.01, -20.70)
CIE-LCHlch(39.93, 60.65, 340.05°)
OKLaboklab(50.6% 0.1711 -0.0556)
OKLCHoklch(50.6% 0.18 342)
XYZxyz(20.1368, 11.2073, 21.8674)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42B81 #2BA44E
analogous
#8A2BA4 #A42B81 #A42B45
triadic
#A42B81 #81A42B #2B81A4
tetradic
#A42B81 #A48A2B #2BA44E #2B45A4
square
#A42B81 #A48A2B #2BA44E #2B45A4
split-complementary
#A42B81 #45A42B #2BA48A
monochromatic
#431235 #741E5B #A42B81 #CD3FA4 #D970BB

Accessibility & contrast

On white

6.48
#A42B81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42B81
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42B81#FFFFFF#000000##FFFFFF
##A42B811.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365183
Deuteranopia (green-blind)
#5C657E
Tritanopia (blue-blind)
#AE2D52
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42b81;
/* rgb */ color: rgb(164, 43, 129);
/* oklch */ color: oklch(50.6% 0.180 342.0);
Tailwind
colors: {
  custom: {
    50: '#c370a5',
    500: '#a42b81',
    950: '#000000',
  },
}
SCSS
$custom: #a42b81;
$custom-light: #c370a5;
$custom-dark: #000000;
JSON
{
  "hex": "#a42b81",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 129
  },
  "hsl": {
    "h": 317.355,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50595,
    "c": 0.17989,
    "h": 342
  },
  "luminance": 0.11205
}

Semantic roles & 50–950 ramp

primary
#A42B81
secondary
#6AC183
accent
#E27346
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42B81

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

Preview Lab → · Contrast checker → · Palette generator →

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