#A42D8B#A42D8B

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

Color values

HEX#A42D8B
RGBrgb(164, 45, 139)
HSLhsl(313, 57%, 41%)
HSVhsv(313, 73%, 64%)
CMYKcmyk(0%, 72.6%, 15.2%, 35.7%)
CIE-LABlab(40.63, 57.74, -25.75)
CIE-LCHlch(40.63, 63.22, 335.97°)
OKLaboklab(51.25% 0.1705 -0.0699)
OKLCHoklch(51.25% 0.184 337.7)
XYZxyz(20.9088, 11.6353, 25.5657)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42D8B #2DA446
analogous
#812DA4 #A42D8B #A42D4F
triadic
#A42D8B #8BA42D #2D8BA4
tetradic
#A42D8B #A4812D #2DA446 #2D4FA4
square
#A42D8B #A4812D #2DA446 #2D4FA4
split-complementary
#A42D8B #4FA42D #2DA481
monochromatic
#44133A #742062 #A42D8B #CB43AF #D973C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A42D8B#FFFFFF#000000##FFFFFF
##A42D8B1.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)
#31548E
Deuteranopia (green-blind)
#596688
Tritanopia (blue-blind)
#AD3358
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42d8b;
/* rgb */ color: rgb(164, 45, 139);
/* oklch */ color: oklch(51.3% 0.184 337.7);
Tailwind
colors: {
  custom: {
    50: '#c371ad',
    500: '#a42d8b',
    950: '#000000',
  },
}
SCSS
$custom: #a42d8b;
$custom-light: #c371ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a42d8b",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 312.605,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51254,
    "c": 0.18425,
    "h": 337.7
  },
  "luminance": 0.11633
}

Semantic roles & 50–950 ramp

primary
#A42D8B
secondary
#6DC07E
accent
#E06848
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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