#A42057#A42057

#A42057 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.171 H 1.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#A42057
RGBrgb(164, 32, 87)
HSLhsl(335, 67%, 38%)
HSVhsv(335, 80%, 64%)
CMYKcmyk(0%, 80.5%, 47%, 35.7%)
CIE-LABlab(37.14, 55.64, 1.55)
CIE-LCHlch(37.14, 55.66, 1.60°)
OKLaboklab(48.05% 0.1709 0.0046)
OKLCHoklch(48.05% 0.171 1.5)
XYZxyz(17.5481, 9.6161, 9.9470)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42057 #20A46D
analogous
#A42099 #A42057 #A42B20
triadic
#A42057 #57A420 #2057A4
tetradic
#A42057 #99A420 #20A46D #2B20A4
square
#A42057 #99A420 #20A46D #2B20A4
split-complementary
#A42057 #20A42B #2099A4
monochromatic
#3E0C21 #71163C #A42057 #D62B72 #E05F94

Accessibility & contrast

On white

7.18
#A42057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#A42057 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A42057
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42057#FFFFFF#000000##FFFFFF
##A420571.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414758
Deuteranopia (green-blind)
#646054
Tritanopia (blue-blind)
#B20039
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a42057;
/* rgb */ color: rgb(164, 32, 87);
/* oklch */ color: oklch(48.1% 0.171 1.5);
Tailwind
colors: {
  custom: {
    50: '#c56a86',
    500: '#a42057',
    950: '#000000',
  },
}
SCSS
$custom: #a42057;
$custom-light: #c56a86;
$custom-dark: #000000;
JSON
{
  "hex": "#a42057",
  "rgb": {
    "r": 164,
    "g": 32,
    "b": 87
  },
  "hsl": {
    "h": 335,
    "s": 67.347,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48052,
    "c": 0.17093,
    "h": 1.5
  },
  "luminance": 0.09614
}

Semantic roles & 50–950 ramp

primary
#A42057
secondary
#5CC499
accent
#EAA23E
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070B
muted
#827A7C

Preview Lab

Preview with #A42057

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

Preview Lab → · Contrast checker → · Palette generator →

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