#A52D5F#A52D5F

#A52D5F is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.161 H 359.6°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A52D5F
RGBrgb(165, 45, 95)
HSLhsl(335, 57%, 41%)
HSVhsv(335, 73%, 65%)
CMYKcmyk(0%, 72.7%, 42.4%, 35.3%)
CIE-LABlab(39.08, 52.47, -0.70)
CIE-LCHlch(39.08, 52.48, 359.24°)
OKLaboklab(49.59% 0.161 -0.0012)
OKLCHoklch(49.59% 0.161 359.6)
XYZxyz(18.5223, 10.7047, 11.9151)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52D5F #2DA573
analogous
#A52D9B #A52D5F #A5372D
triadic
#A52D5F #5FA52D #2D5FA5
tetradic
#A52D5F #9BA52D #2DA573 #372DA5
square
#A52D5F #9BA52D #2DA573 #372DA5
split-complementary
#A52D5F #2DA537 #2D9BA5
monochromatic
#451328 #752043 #A52D5F #CC437C #D9739E

Accessibility & contrast

On white

6.69
#A52D5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A52D5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52D5F
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52D5F#FFFFFF#000000##FFFFFF
##A52D5F1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464D60
Deuteranopia (green-blind)
#67645C
Tritanopia (blue-blind)
#B31C42
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a52d5f;
/* rgb */ color: rgb(165, 45, 95);
/* oklch */ color: oklch(49.6% 0.161 359.6);
Tailwind
colors: {
  custom: {
    50: '#c5708c',
    500: '#a52d5f',
    950: '#000000',
  },
}
SCSS
$custom: #a52d5f;
$custom-light: #c5708c;
$custom-dark: #000000;
JSON
{
  "hex": "#a52d5f",
  "rgb": {
    "r": 165,
    "g": 45,
    "b": 95
  },
  "hsl": {
    "h": 335,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49589,
    "c": 0.16095,
    "h": 359.6
  },
  "luminance": 0.10702
}

Semantic roles & 50–950 ramp

primary
#A52D5F
secondary
#6DC19E
accent
#E0A147
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080C
muted
#827B7D

Preview Lab

Preview with #A52D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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