#A42257#A42257

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

Color values

HEX#A42257
RGBrgb(164, 34, 87)
HSLhsl(336, 66%, 39%)
HSVhsv(336, 79%, 64%)
CMYKcmyk(0%, 79.3%, 47%, 35.7%)
CIE-LABlab(37.35, 55.06, 1.85)
CIE-LCHlch(37.35, 55.09, 1.92°)
OKLaboklab(48.2% 0.169 0.0054)
OKLCHoklch(48.2% 0.169 1.8)
XYZxyz(17.6036, 9.7271, 9.9655)
Luminance0.0973 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42257 #22A46F
analogous
#A42298 #A42257 #A42E22
triadic
#A42257 #57A422 #2257A4
tetradic
#A42257 #98A422 #22A46F #2E22A4
square
#A42257 #98A422 #22A46F #2E22A4
split-complementary
#A42257 #22A42E #2298A4
monochromatic
#3F0D21 #71173C #A42257 #D42F72 #DE6295

Accessibility & contrast

On white

7.13
#A42257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#A42257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A42257
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42257#FFFFFF#000000##FFFFFF
##A422571.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42257;
/* rgb */ color: rgb(164, 34, 87);
/* oklch */ color: oklch(48.2% 0.169 1.8);
Tailwind
colors: {
  custom: {
    50: '#c56b86',
    500: '#a42257',
    950: '#000000',
  },
}
SCSS
$custom: #a42257;
$custom-light: #c56b86;
$custom-dark: #000000;
JSON
{
  "hex": "#a42257",
  "rgb": {
    "r": 164,
    "g": 34,
    "b": 87
  },
  "hsl": {
    "h": 335.538,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48202,
    "c": 0.16909,
    "h": 1.8
  },
  "luminance": 0.09725
}

Semantic roles & 50–950 ramp

primary
#A42257
secondary
#5EC49A
accent
#E9A43F
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070B
muted
#827A7C

Preview Lab

Preview with #A42257

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

Preview Lab → · Contrast checker → · Palette generator →

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