#A42B79#A42B79

#A42B79 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.175 H 345.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A42B79
RGBrgb(164, 43, 121)
HSLhsl(321, 58%, 41%)
HSVhsv(321, 74%, 64%)
CMYKcmyk(0%, 73.8%, 26.2%, 35.7%)
CIE-LABlab(39.59, 55.94, -16.27)
CIE-LCHlch(39.59, 58.25, 343.78°)
OKLaboklab(50.23% 0.1695 -0.0432)
OKLCHoklch(50.23% 0.175 345.7)
XYZxyz(19.6258, 11.0029, 19.1757)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42B79 #2BA456
analogous
#922BA4 #A42B79 #A42B3D
triadic
#A42B79 #79A42B #2B79A4
tetradic
#A42B79 #A4922B #2BA456 #2B3DA4
square
#A42B79 #A4922B #2BA456 #2B3DA4
split-complementary
#A42B79 #3DA42B #2BA492
monochromatic
#431231 #741E55 #A42B79 #CD3F9B #D970B4

Accessibility & contrast

On white

6.56
#A42B79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A42B79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42B79
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42B79#FFFFFF#000000##FFFFFF
##A42B791.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A507B
Deuteranopia (green-blind)
#5F6576
Tritanopia (blue-blind)
#AF284E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a42b79;
/* rgb */ color: rgb(164, 43, 121);
/* oklch */ color: oklch(50.2% 0.175 345.7);
Tailwind
colors: {
  custom: {
    50: '#c3709f',
    500: '#a42b79',
    950: '#000000',
  },
}
SCSS
$custom: #a42b79;
$custom-light: #c3709f;
$custom-dark: #000000;
JSON
{
  "hex": "#a42b79",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 321.322,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50234,
    "c": 0.17495,
    "h": 345.7
  },
  "luminance": 0.11001
}

Semantic roles & 50–950 ramp

primary
#A42B79
secondary
#6AC189
accent
#E27D46
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A42B79

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

Preview Lab → · Contrast checker → · Palette generator →

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