#A42B8A#A42B8A

#A42B8A is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.186 H 338.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A42B8A
RGBrgb(164, 43, 138)
HSLhsl(313, 58%, 41%)
HSVhsv(313, 74%, 64%)
CMYKcmyk(0%, 73.8%, 15.9%, 35.7%)
CIE-LABlab(40.34, 58.28, -25.59)
CIE-LCHlch(40.34, 63.65, 336.30°)
OKLaboklab(51.03% 0.1724 -0.0694)
OKLCHoklch(51.03% 0.186 338.1)
XYZxyz(20.7616, 11.4572, 25.1579)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42B8A #2BA445
analogous
#822BA4 #A42B8A #A42B4D
triadic
#A42B8A #8AA42B #2B8AA4
tetradic
#A42B8A #A4822B #2BA445 #2B4DA4
square
#A42B8A #A4822B #2BA445 #2B4DA4
split-complementary
#A42B8A #4DA42B #2BA482
monochromatic
#431238 #741E61 #A42B8A #CD3FAE #D970C3

Accessibility & contrast

On white

6.38
#A42B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A42B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42B8A
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42B8A#FFFFFF#000000##FFFFFF
##A42B8A1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30538D
Deuteranopia (green-blind)
#596687
Tritanopia (blue-blind)
#AD3157
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a42b8a;
/* rgb */ color: rgb(164, 43, 138);
/* oklch */ color: oklch(51.0% 0.186 338.1);
Tailwind
colors: {
  custom: {
    50: '#c370ac',
    500: '#a42b8a',
    950: '#000000',
  },
}
SCSS
$custom: #a42b8a;
$custom-light: #c370ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a42b8a",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 312.893,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51029,
    "c": 0.18587,
    "h": 338.1
  },
  "luminance": 0.11455
}

Semantic roles & 50–950 ramp

primary
#A42B8A
secondary
#6AC17D
accent
#E26846
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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