#A42157#A42157

#A42157 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.1% C 0.170 H 1.7°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#A42157
RGBrgb(164, 33, 87)
HSLhsl(335, 66%, 39%)
HSVhsv(335, 80%, 64%)
CMYKcmyk(0%, 79.9%, 47%, 35.7%)
CIE-LABlab(37.24, 55.35, 1.70)
CIE-LCHlch(37.24, 55.38, 1.76°)
OKLaboklab(48.13% 0.17 0.005)
OKLCHoklch(48.13% 0.17 1.7)
XYZxyz(17.5755, 9.6707, 9.9561)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42157 #21A46E
analogous
#A42198 #A42157 #A42C21
triadic
#A42157 #57A421 #2157A4
tetradic
#A42157 #98A421 #21A46E #2C21A4
square
#A42157 #98A421 #21A46E #2C21A4
split-complementary
#A42157 #21A42C #2198A4
monochromatic
#3E0C21 #71173C #A42157 #D52D72 #DF6095

Accessibility & contrast

On white

7.16
#A42157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#A42157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A42157
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42157#FFFFFF#000000##FFFFFF
##A421571.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414858
Deuteranopia (green-blind)
#646154
Tritanopia (blue-blind)
#B20039
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a42157;
/* rgb */ color: rgb(164, 33, 87);
/* oklch */ color: oklch(48.1% 0.170 1.7);
Tailwind
colors: {
  custom: {
    50: '#c56b86',
    500: '#a42157',
    950: '#000000',
  },
}
SCSS
$custom: #a42157;
$custom-light: #c56b86;
$custom-dark: #000000;
JSON
{
  "hex": "#a42157",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 335.267,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48126,
    "c": 0.17002,
    "h": 1.7
  },
  "luminance": 0.09668
}

Semantic roles & 50–950 ramp

primary
#A42157
secondary
#5DC499
accent
#E9A33E
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070B
muted
#827A7C

Preview Lab

Preview with #A42157

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

Preview Lab → · Contrast checker → · Palette generator →

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