#A42B8E#A42B8E

#A42B8E is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.189 H 336.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A42B8E
RGBrgb(164, 43, 142)
HSLhsl(311, 58%, 41%)
HSVhsv(311, 74%, 64%)
CMYKcmyk(0%, 73.8%, 13.4%, 35.7%)
CIE-LABlab(40.53, 58.87, -27.73)
CIE-LCHlch(40.53, 65.07, 334.78°)
OKLaboklab(51.23% 0.1729 -0.0755)
OKLCHoklch(51.23% 0.189 336.4)
XYZxyz(21.0565, 11.5752, 26.7112)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42B8E #2BA441
analogous
#7D2BA4 #A42B8E #A42B51
triadic
#A42B8E #8EA42B #2B8EA4
tetradic
#A42B8E #A47D2B #2BA441 #2B51A4
square
#A42B8E #A47D2B #2BA441 #2B51A4
split-complementary
#A42B8E #51A42B #2BA47D
monochromatic
#43123A #741E64 #A42B8E #CD3FB3 #D970C6

Accessibility & contrast

On white

6.34
#A42B8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A42B8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42B8E
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42B8E#FFFFFF#000000##FFFFFF
##A42B8E1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5491
Deuteranopia (green-blind)
#57668B
Tritanopia (blue-blind)
#AD3359
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42b8e;
/* rgb */ color: rgb(164, 43, 142);
/* oklch */ color: oklch(51.2% 0.189 336.4);
Tailwind
colors: {
  custom: {
    50: '#c371af',
    500: '#a42b8e',
    950: '#000000',
  },
}
SCSS
$custom: #a42b8e;
$custom-light: #c371af;
$custom-dark: #000000;
JSON
{
  "hex": "#a42b8e",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 142
  },
  "hsl": {
    "h": 310.909,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51231,
    "c": 0.18866,
    "h": 336.4
  },
  "luminance": 0.11573
}

Semantic roles & 50–950 ramp

primary
#A42B8E
secondary
#6AC17A
accent
#E26246
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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