#A42A52#A42A52

#A42A52 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.7% C 0.160 H 5.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#A42A52
RGBrgb(164, 42, 82)
HSLhsl(340, 59%, 40%)
HSVhsv(340, 74%, 64%)
CMYKcmyk(0%, 74.4%, 50%, 35.7%)
CIE-LABlab(38.13, 52.01, 6.16)
CIE-LCHlch(38.13, 52.38, 6.76°)
OKLaboklab(48.73% 0.1588 0.0162)
OKLCHoklch(48.73% 0.16 5.8)
XYZxyz(17.6623, 10.1600, 9.0120)
Luminance0.1016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A52 #2AA47C
analogous
#A42A8F #A42A52 #A43F2A
triadic
#A42A52 #52A42A #2A52A4
tetradic
#A42A52 #8FA42A #2AA47C #3F2AA4
square
#A42A52 #8FA42A #2AA47C #3F2AA4
split-complementary
#A42A52 #2AA43F #2A8FA4
monochromatic
#431121 #731E3A #A42A52 #CD3E6D #DA6E92

Accessibility & contrast

On white

6.93
#A42A52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#A42A52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A52
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A52#FFFFFF#000000##FFFFFF
##A42A521.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474A53
Deuteranopia (green-blind)
#68634F
Tritanopia (blue-blind)
#B30F3B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a42a52;
/* rgb */ color: rgb(164, 42, 82);
/* oklch */ color: oklch(48.7% 0.160 5.8);
Tailwind
colors: {
  custom: {
    50: '#c56e82',
    500: '#a42a52',
    950: '#000000',
  },
}
SCSS
$custom: #a42a52;
$custom-light: #c56e82;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a52",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 340.328,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4873,
    "c": 0.15965,
    "h": 5.8
  },
  "luminance": 0.10158
}

Semantic roles & 50–950 ramp

primary
#A42A52
secondary
#69C1A4
accent
#E2AF45
background
#FCF7F7
surface
#F9EDEE
border
#D2C8C9
text
#14080A
muted
#827B7C

Preview Lab

Preview with #A42A52

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

Preview Lab → · Contrast checker → · Palette generator →

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