#A52862#A52862

#A52862 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.168 H 357.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A52862
RGBrgb(165, 40, 98)
HSLhsl(332, 61%, 40%)
HSVhsv(332, 76%, 65%)
CMYKcmyk(0%, 75.8%, 40.6%, 35.3%)
CIE-LABlab(38.55, 54.53, -3.37)
CIE-LCHlch(38.55, 54.63, 356.46°)
OKLaboklab(49.23% 0.1675 -0.0082)
OKLCHoklch(49.23% 0.168 357.2)
XYZxyz(18.4818, 10.4011, 12.5873)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52862 #28A56B
analogous
#A528A1 #A52862 #A52C28
triadic
#A52862 #62A528 #2862A5
tetradic
#A52862 #A1A528 #28A56B #2C28A5
square
#A52862 #A1A528 #28A56B #2C28A5
split-complementary
#A52862 #28A52C #28A1A5
monochromatic
#421027 #741C45 #A52862 #CF3B80 #DB6CA0

Accessibility & contrast

On white

6.82
#A52862 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A52862 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52862
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52862#FFFFFF#000000##FFFFFF
##A528621.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424C63
Deuteranopia (green-blind)
#64635F
Tritanopia (blue-blind)
#B31641
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a52862;
/* rgb */ color: rgb(165, 40, 98);
/* oklch */ color: oklch(49.2% 0.168 357.2);
Tailwind
colors: {
  custom: {
    50: '#c56e8e',
    500: '#a52862',
    950: '#000000',
  },
}
SCSS
$custom: #a52862;
$custom-light: #c56e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#a52862",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 98
  },
  "hsl": {
    "h": 332.16,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49234,
    "c": 0.16769,
    "h": 357.2
  },
  "luminance": 0.10399
}

Semantic roles & 50–950 ramp

primary
#A52862
secondary
#67C298
accent
#E49A44
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080C
muted
#827B7D

Preview Lab

Preview with #A52862

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

Preview Lab → · Contrast checker → · Palette generator →

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