#A42452#A42452

#A42452 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.2% C 0.166 H 4.7°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#A42452
RGBrgb(164, 36, 82)
HSLhsl(338, 64%, 39%)
HSVhsv(338, 78%, 64%)
CMYKcmyk(0%, 78%, 50%, 35.7%)
CIE-LABlab(37.42, 54.01, 5.15)
CIE-LCHlch(37.42, 54.25, 5.45°)
OKLaboklab(48.21% 0.1652 0.0137)
OKLCHoklch(48.21% 0.166 4.7)
XYZxyz(17.4652, 9.7659, 8.9463)
Luminance0.0976 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42452 #24A476
analogous
#A42492 #A42452 #A43624
triadic
#A42452 #52A424 #2452A4
tetradic
#A42452 #92A424 #24A476 #3624A4
square
#A42452 #92A424 #24A476 #3624A4
split-complementary
#A42452 #24A436 #2492A4
monochromatic
#400E20 #721939 #A42452 #D2336C #DD6590

Accessibility & contrast

On white

7.11
#A42452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A42452
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42452#FFFFFF#000000##FFFFFF
##A424521.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444853
Deuteranopia (green-blind)
#66614F
Tritanopia (blue-blind)
#B30038
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a42452;
/* rgb */ color: rgb(164, 36, 82);
/* oklch */ color: oklch(48.2% 0.166 4.7);
Tailwind
colors: {
  custom: {
    50: '#c56c82',
    500: '#a42452',
    950: '#000000',
  },
}
SCSS
$custom: #a42452;
$custom-light: #c56c82;
$custom-dark: #000000;
JSON
{
  "hex": "#a42452",
  "rgb": {
    "r": 164,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 338.438,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48207,
    "c": 0.1658,
    "h": 4.7
  },
  "luminance": 0.09763
}

Semantic roles & 50–950 ramp

primary
#A42452
secondary
#61C3A0
accent
#E7AB41
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14080A
muted
#827A7C

Preview Lab

Preview with #A42452

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

Preview Lab → · Contrast checker → · Palette generator →

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