#A42B8D#A42B8D

#A42B8D is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.2% C 0.188 H 336.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A42B8D
RGBrgb(164, 43, 141)
HSLhsl(311, 58%, 41%)
HSVhsv(311, 74%, 64%)
CMYKcmyk(0%, 73.8%, 14%, 35.7%)
CIE-LABlab(40.48, 58.72, -27.20)
CIE-LCHlch(40.48, 64.71, 335.15°)
OKLaboklab(51.18% 0.1728 -0.074)
OKLCHoklch(51.18% 0.188 336.8)
XYZxyz(20.9818, 11.5453, 26.3176)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42B8D #2BA442
analogous
#7E2BA4 #A42B8D #A42B50
triadic
#A42B8D #8DA42B #2B8DA4
tetradic
#A42B8D #A47E2B #2BA442 #2B50A4
square
#A42B8D #A47E2B #2BA442 #2B50A4
split-complementary
#A42B8D #50A42B #2BA47E
monochromatic
#43123A #741E63 #A42B8D #CD3FB2 #D970C5

Accessibility & contrast

On white

6.35
#A42B8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42B8D
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42B8D#FFFFFF#000000##FFFFFF
##A42B8D1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5490
Deuteranopia (green-blind)
#57668A
Tritanopia (blue-blind)
#AD3359
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a42b8d;
/* rgb */ color: rgb(164, 43, 141);
/* oklch */ color: oklch(51.2% 0.188 336.8);
Tailwind
colors: {
  custom: {
    50: '#c370ae',
    500: '#a42b8d',
    950: '#000000',
  },
}
SCSS
$custom: #a42b8d;
$custom-light: #c370ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a42b8d",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 311.405,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51179,
    "c": 0.18795,
    "h": 336.8
  },
  "luminance": 0.11543
}

Semantic roles & 50–950 ramp

primary
#A42B8D
secondary
#6AC17B
accent
#E26446
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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