#A52852#A52852

#A52852 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.7% C 0.163 H 5.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#A52852
RGBrgb(165, 40, 82)
HSLhsl(340, 61%, 40%)
HSVhsv(340, 76%, 65%)
CMYKcmyk(0%, 75.8%, 50.3%, 35.3%)
CIE-LABlab(38.07, 53.00, 6.11)
CIE-LCHlch(38.07, 53.35, 6.58°)
OKLaboklab(48.72% 0.1619 0.016)
OKLCHoklch(48.72% 0.163 5.7)
XYZxyz(17.8004, 10.1285, 8.9987)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52852 #28A57B
analogous
#A52890 #A52852 #A53C28
triadic
#A52852 #52A528 #2852A5
tetradic
#A52852 #90A528 #28A57B #3C28A5
square
#A52852 #90A528 #28A57B #3C28A5
split-complementary
#A52852 #28A53C #2890A5
monochromatic
#421021 #741C3A #A52852 #CF3B6D #DB6C91

Accessibility & contrast

On white

6.94
#A52852 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#A52852 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52852
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52852#FFFFFF#000000##FFFFFF
##A528521.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474A53
Deuteranopia (green-blind)
#68634F
Tritanopia (blue-blind)
#B4093A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a52852;
/* rgb */ color: rgb(165, 40, 82);
/* oklch */ color: oklch(48.7% 0.163 5.7);
Tailwind
colors: {
  custom: {
    50: '#c56d82',
    500: '#a52852',
    950: '#000000',
  },
}
SCSS
$custom: #a52852;
$custom-light: #c56d82;
$custom-dark: #000000;
JSON
{
  "hex": "#a52852",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 339.84,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48723,
    "c": 0.16269,
    "h": 5.7
  },
  "luminance": 0.10126
}

Semantic roles & 50–950 ramp

primary
#A52852
secondary
#67C2A3
accent
#E4AE44
background
#FCF7F7
surface
#F9EDEE
border
#D2C8C9
text
#14080A
muted
#827B7C

Preview Lab

Preview with #A52852

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

Preview Lab → · Contrast checker → · Palette generator →

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