#A42A58#A42A58

#A42A58 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 48.9% C 0.161 H 2.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A42A58
RGBrgb(164, 42, 88)
HSLhsl(337, 59%, 40%)
HSVhsv(337, 74%, 64%)
CMYKcmyk(0%, 74.4%, 46.3%, 35.7%)
CIE-LABlab(38.30, 52.56, 2.58)
CIE-LCHlch(38.30, 52.63, 2.81°)
OKLaboklab(48.91% 0.161 0.0072)
OKLCHoklch(48.91% 0.161 2.6)
XYZxyz(17.9007, 10.2554, 10.2675)
Luminance0.1025 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A58 #2AA476
analogous
#A42A95 #A42A58 #A4392A
triadic
#A42A58 #58A42A #2A58A4
tetradic
#A42A58 #95A42A #2AA476 #392AA4
square
#A42A58 #95A42A #2AA476 #392AA4
split-complementary
#A42A58 #2AA439 #2A95A4
monochromatic
#431124 #731E3E #A42A58 #CD3E74 #DA6E97

Accessibility & contrast

On white

6.88
#A42A58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A42A58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A58
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A58#FFFFFF#000000##FFFFFF
##A42A581.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464B59
Deuteranopia (green-blind)
#666355
Tritanopia (blue-blind)
#B2143E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a42a58;
/* rgb */ color: rgb(164, 42, 88);
/* oklch */ color: oklch(48.9% 0.161 2.6);
Tailwind
colors: {
  custom: {
    50: '#c46e86',
    500: '#a42a58',
    950: '#000000',
  },
}
SCSS
$custom: #a42a58;
$custom-light: #c46e86;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a58",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 88
  },
  "hsl": {
    "h": 337.377,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48909,
    "c": 0.1612,
    "h": 2.6
  },
  "luminance": 0.10253
}

Semantic roles & 50–950 ramp

primary
#A42A58
secondary
#69C1A0
accent
#E2A745
background
#FCF7F8
surface
#F9EDEF
border
#D2C8CA
text
#14080B
muted
#827B7C

Preview Lab

Preview with #A42A58

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

Preview Lab → · Contrast checker → · Palette generator →

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