#A42152#A42152

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

Color values

HEX#A42152
RGBrgb(164, 33, 82)
HSLhsl(338, 66%, 39%)
HSVhsv(338, 80%, 64%)
CMYKcmyk(0%, 79.9%, 50%, 35.7%)
CIE-LABlab(37.10, 54.91, 4.70)
CIE-LCHlch(37.10, 55.11, 4.89°)
OKLaboklab(47.97% 0.1682 0.0125)
OKLCHoklch(47.97% 0.169 4.3)
XYZxyz(17.3782, 9.5918, 8.9173)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42152 #21A473
analogous
#A42193 #A42152 #A43121
triadic
#A42152 #52A421 #2152A4
tetradic
#A42152 #93A421 #21A473 #3121A4
square
#A42152 #93A421 #21A473 #3121A4
split-complementary
#A42152 #21A431 #2193A4
monochromatic
#3E0C1F #711739 #A42152 #D52D6C #DF6090

Accessibility & contrast

On white

7.20
#A42152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#A42152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A42152
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42152#FFFFFF#000000##FFFFFF
##A421521.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424753
Deuteranopia (green-blind)
#65604F
Tritanopia (blue-blind)
#B30037
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a42152;
/* rgb */ color: rgb(164, 33, 82);
/* oklch */ color: oklch(48.0% 0.169 4.3);
Tailwind
colors: {
  custom: {
    50: '#c56b82',
    500: '#a42152',
    950: '#000000',
  },
}
SCSS
$custom: #a42152;
$custom-light: #c56b82;
$custom-dark: #000000;
JSON
{
  "hex": "#a42152",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 337.557,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47972,
    "c": 0.16862,
    "h": 4.3
  },
  "luminance": 0.09589
}

Semantic roles & 50–950 ramp

primary
#A42152
secondary
#5DC49D
accent
#E9A93E
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A42152

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

Preview Lab → · Contrast checker → · Palette generator →

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