#A42B7A#A42B7A

#A42B7A is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.176 H 345.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A42B7A
RGBrgb(164, 43, 122)
HSLhsl(321, 58%, 41%)
HSVhsv(321, 74%, 64%)
CMYKcmyk(0%, 73.8%, 25.6%, 35.7%)
CIE-LABlab(39.63, 56.07, -16.83)
CIE-LCHlch(39.63, 58.54, 343.29°)
OKLaboklab(50.28% 0.1698 -0.0447)
OKLCHoklch(50.28% 0.176 345.2)
XYZxyz(19.6874, 11.0275, 19.5003)
Luminance0.1103 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42B7A #2BA455
analogous
#912BA4 #A42B7A #A42B3E
triadic
#A42B7A #7AA42B #2B7AA4
tetradic
#A42B7A #A4912B #2BA455 #2B3EA4
square
#A42B7A #A4912B #2BA455 #2B3EA4
split-complementary
#A42B7A #3EA42B #2BA491
monochromatic
#431232 #741E56 #A42B7A #CD3F9C #D970B5

Accessibility & contrast

On white

6.55
#A42B7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A42B7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42B7A
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42B7A#FFFFFF#000000##FFFFFF
##A42B7A1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A507C
Deuteranopia (green-blind)
#5E6577
Tritanopia (blue-blind)
#AF294F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a42b7a;
/* rgb */ color: rgb(164, 43, 122);
/* oklch */ color: oklch(50.3% 0.176 345.2);
Tailwind
colors: {
  custom: {
    50: '#c370a0',
    500: '#a42b7a',
    950: '#000000',
  },
}
SCSS
$custom: #a42b7a;
$custom-light: #c370a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a42b7a",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 122
  },
  "hsl": {
    "h": 320.826,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50278,
    "c": 0.17554,
    "h": 345.2
  },
  "luminance": 0.11025
}

Semantic roles & 50–950 ramp

primary
#A42B7A
secondary
#6AC188
accent
#E27C46
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A42B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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