#A42156#A42156

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

Color values

HEX#A42156
RGBrgb(164, 33, 86)
HSLhsl(336, 66%, 39%)
HSVhsv(336, 80%, 64%)
CMYKcmyk(0%, 79.9%, 47.6%, 35.7%)
CIE-LABlab(37.22, 55.26, 2.30)
CIE-LCHlch(37.22, 55.31, 2.38°)
OKLaboklab(48.09% 0.1696 0.0065)
OKLCHoklch(48.09% 0.17 2.2)
XYZxyz(17.5349, 9.6545, 9.7425)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42156 #21A46F
analogous
#A42197 #A42156 #A42D21
triadic
#A42156 #56A421 #2156A4
tetradic
#A42156 #97A421 #21A46F #2D21A4
square
#A42156 #97A421 #21A46F #2D21A4
split-complementary
#A42156 #21A42D #2197A4
monochromatic
#3E0C21 #71173B #A42156 #D52D71 #DF6094

Accessibility & contrast

On white

7.17
#A42156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A42156
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42156#FFFFFF#000000##FFFFFF
##A421561.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414757
Deuteranopia (green-blind)
#646153
Tritanopia (blue-blind)
#B30039
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a42156;
/* rgb */ color: rgb(164, 33, 86);
/* oklch */ color: oklch(48.1% 0.170 2.2);
Tailwind
colors: {
  custom: {
    50: '#c56b85',
    500: '#a42156',
    950: '#000000',
  },
}
SCSS
$custom: #a42156;
$custom-light: #c56b85;
$custom-dark: #000000;
JSON
{
  "hex": "#a42156",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 335.725,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48094,
    "c": 0.16972,
    "h": 2.2
  },
  "luminance": 0.09652
}

Semantic roles & 50–950 ramp

primary
#A42156
secondary
#5DC49A
accent
#E9A43E
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070B
muted
#827A7C

Preview Lab

Preview with #A42156

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

Preview Lab → · Contrast checker → · Palette generator →

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