#A42252#A42252

#A42252 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.168 H 4.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#A42252
RGBrgb(164, 34, 82)
HSLhsl(338, 66%, 39%)
HSVhsv(338, 79%, 64%)
CMYKcmyk(0%, 79.3%, 50%, 35.7%)
CIE-LABlab(37.20, 54.61, 4.85)
CIE-LCHlch(37.20, 54.83, 5.07°)
OKLaboklab(48.05% 0.1672 0.0129)
OKLCHoklch(48.05% 0.168 4.4)
XYZxyz(17.4064, 9.6482, 8.9267)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42252 #22A474
analogous
#A42293 #A42252 #A43322
triadic
#A42252 #52A422 #2252A4
tetradic
#A42252 #93A422 #22A474 #3322A4
square
#A42252 #93A422 #22A474 #3322A4
split-complementary
#A42252 #22A433 #2293A4
monochromatic
#3F0D1F #711739 #A42252 #D42F6C #DE6290

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A42252#FFFFFF#000000##FFFFFF
##A422521.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)
#434753
Deuteranopia (green-blind)
#65614F
Tritanopia (blue-blind)
#B30037
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a42252;
/* rgb */ color: rgb(164, 34, 82);
/* oklch */ color: oklch(48.0% 0.168 4.4);
Tailwind
colors: {
  custom: {
    50: '#c56b82',
    500: '#a42252',
    950: '#000000',
  },
}
SCSS
$custom: #a42252;
$custom-light: #c56b82;
$custom-dark: #000000;
JSON
{
  "hex": "#a42252",
  "rgb": {
    "r": 164,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 337.846,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48048,
    "c": 0.16771,
    "h": 4.4
  },
  "luminance": 0.09646
}

Semantic roles & 50–950 ramp

primary
#A42252
secondary
#5EC49E
accent
#E9AA3F
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A42252

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

Preview Lab → · Contrast checker → · Palette generator →

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