#A42256#A42256

#A42256 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.169 H 2.3°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#A42256
RGBrgb(164, 34, 86)
HSLhsl(336, 66%, 39%)
HSVhsv(336, 79%, 64%)
CMYKcmyk(0%, 79.3%, 47.6%, 35.7%)
CIE-LABlab(37.32, 54.97, 2.45)
CIE-LCHlch(37.32, 55.02, 2.55°)
OKLaboklab(48.17% 0.1687 0.0069)
OKLCHoklch(48.17% 0.169 2.3)
XYZxyz(17.5631, 9.7109, 9.7518)
Luminance0.0971 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42256 #22A470
analogous
#A42297 #A42256 #A42F22
triadic
#A42256 #56A422 #2256A4
tetradic
#A42256 #97A422 #22A470 #2F22A4
square
#A42256 #97A422 #22A470 #2F22A4
split-complementary
#A42256 #22A42F #2297A4
monochromatic
#3F0D21 #71173B #A42256 #D42F71 #DE6294

Accessibility & contrast

On white

7.14
#A42256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#A42256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A42256
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42256#FFFFFF#000000##FFFFFF
##A422561.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42256;
/* rgb */ color: rgb(164, 34, 86);
/* oklch */ color: oklch(48.2% 0.169 2.3);
Tailwind
colors: {
  custom: {
    50: '#c56b85',
    500: '#a42256',
    950: '#000000',
  },
}
SCSS
$custom: #a42256;
$custom-light: #c56b85;
$custom-dark: #000000;
JSON
{
  "hex": "#a42256",
  "rgb": {
    "r": 164,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 336,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4817,
    "c": 0.16879,
    "h": 2.3
  },
  "luminance": 0.09708
}

Semantic roles & 50–950 ramp

primary
#A42256
secondary
#5EC49B
accent
#E9A53F
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070B
muted
#827A7C

Preview Lab

Preview with #A42256

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

Preview Lab → · Contrast checker → · Palette generator →

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