#A52042#A52042

#A52042 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.168 H 12.4°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#A52042
RGBrgb(165, 32, 66)
HSLhsl(345, 68%, 39%)
HSVhsv(345, 81%, 65%)
CMYKcmyk(0%, 80.6%, 60%, 35.3%)
CIE-LABlab(36.80, 54.25, 14.60)
CIE-LCHlch(36.80, 56.18, 15.06°)
OKLaboklab(47.65% 0.1637 0.0361)
OKLCHoklch(47.65% 0.168 12.4)
XYZxyz(17.0187, 9.4282, 6.0769)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52042 #20A583
analogous
#A52084 #A52042 #A54020
triadic
#A52042 #42A520 #2042A5
tetradic
#A52042 #84A520 #20A583 #4020A5
square
#A52042 #84A520 #20A583 #4020A5
split-complementary
#A52042 #20A540 #2084A5
monochromatic
#3E0C19 #72162D #A52042 #D62C58 #E05F80

Accessibility & contrast

On white

7.28
#A52042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#A52042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A52042
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52042#FFFFFF#000000##FFFFFF
##A520421.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464542
Deuteranopia (green-blind)
#68603F
Tritanopia (blue-blind)
#B5002F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a52042;
/* rgb */ color: rgb(165, 32, 66);
/* oklch */ color: oklch(47.7% 0.168 12.4);
Tailwind
colors: {
  custom: {
    50: '#c76a76',
    500: '#a52042',
    950: '#000000',
  },
}
SCSS
$custom: #a52042;
$custom-light: #c76a76;
$custom-dark: #000000;
JSON
{
  "hex": "#a52042",
  "rgb": {
    "r": 165,
    "g": 32,
    "b": 66
  },
  "hsl": {
    "h": 344.662,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47654,
    "c": 0.16762,
    "h": 12.4
  },
  "luminance": 0.09426
}

Semantic roles & 50–950 ramp

primary
#A52042
secondary
#5CC5AA
accent
#EABE3D
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140708
muted
#837A7B

Preview Lab

Preview with #A52042

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

Preview Lab → · Contrast checker → · Palette generator →

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