#A42A5B#A42A5B

#A42A5B is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.162 H 0.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#A42A5B
RGBrgb(164, 42, 91)
HSLhsl(336, 59%, 40%)
HSVhsv(336, 74%, 64%)
CMYKcmyk(0%, 74.4%, 44.5%, 35.7%)
CIE-LABlab(38.39, 52.85, 0.80)
CIE-LCHlch(38.39, 52.86, 0.87°)
OKLaboklab(49% 0.1621 0.0027)
OKLCHoklch(49% 0.162 0.9)
XYZxyz(18.0275, 10.3061, 10.9355)
Luminance0.1030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A5B #2AA473
analogous
#A42A98 #A42A5B #A4362A
triadic
#A42A5B #5BA42A #2A5BA4
tetradic
#A42A5B #98A42A #2AA473 #362AA4
square
#A42A5B #98A42A #2AA473 #362AA4
split-complementary
#A42A5B #2AA436 #2A98A4
monochromatic
#431125 #731E40 #A42A5B #CD3E77 #DA6E9A

Accessibility & contrast

On white

6.86
#A42A5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A42A5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A5B
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A5B#FFFFFF#000000##FFFFFF
##A42A5B1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454B5C
Deuteranopia (green-blind)
#666358
Tritanopia (blue-blind)
#B2163F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a42a5b;
/* rgb */ color: rgb(164, 42, 91);
/* oklch */ color: oklch(49.0% 0.162 0.9);
Tailwind
colors: {
  custom: {
    50: '#c46e89',
    500: '#a42a5b',
    950: '#000000',
  },
}
SCSS
$custom: #a42a5b;
$custom-light: #c46e89;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a5b",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 335.902,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49004,
    "c": 0.16213,
    "h": 0.9
  },
  "luminance": 0.10304
}

Semantic roles & 50–950 ramp

primary
#A42A5B
secondary
#69C19E
accent
#E2A345
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080B
muted
#827B7C

Preview Lab

Preview with #A42A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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