#A42A6C#A42A6C

#A42A6C is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.169 H 352.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A42A6C
RGBrgb(164, 42, 108)
HSLhsl(328, 59%, 40%)
HSVhsv(328, 74%, 64%)
CMYKcmyk(0%, 74.4%, 34.1%, 35.7%)
CIE-LABlab(38.96, 54.68, -9.10)
CIE-LCHlch(38.96, 55.43, 350.55°)
OKLaboklab(49.61% 0.1674 -0.0235)
OKLCHoklch(49.61% 0.169 352)
XYZxyz(18.8457, 10.6334, 15.2445)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A6C #2AA462
analogous
#9F2AA4 #A42A6C #A42A2F
triadic
#A42A6C #6CA42A #2A6CA4
tetradic
#A42A6C #A49F2A #2AA462 #2A2FA4
square
#A42A6C #A49F2A #2AA462 #2A2FA4
split-complementary
#A42A6C #2FA42A #2AA49F
monochromatic
#43112C #731E4C #A42A6C #CD3E8B #DA6EA9

Accessibility & contrast

On white

6.72
#A42A6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A42A6C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A6C
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A6C#FFFFFF#000000##FFFFFF
##A42A6C1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4E6E
Deuteranopia (green-blind)
#626469
Tritanopia (blue-blind)
#B12047
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a42a6c;
/* rgb */ color: rgb(164, 42, 108);
/* oklch */ color: oklch(49.6% 0.169 352.0);
Tailwind
colors: {
  custom: {
    50: '#c36f96',
    500: '#a42a6c',
    950: '#000000',
  },
}
SCSS
$custom: #a42a6c;
$custom-light: #c36f96;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a6c",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 108
  },
  "hsl": {
    "h": 327.541,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49609,
    "c": 0.16908,
    "h": 352
  },
  "luminance": 0.10631
}

Semantic roles & 50–950 ramp

primary
#A42A6C
secondary
#69C191
accent
#E28D45
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A42A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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