#A52E7E#A52E7E

#A52E7E is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.175 H 343.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A52E7E
RGBrgb(165, 46, 126)
HSLhsl(320, 56%, 41%)
HSVhsv(320, 72%, 65%)
CMYKcmyk(0%, 72.1%, 23.6%, 35.3%)
CIE-LABlab(40.35, 55.80, -18.18)
CIE-LCHlch(40.35, 58.69, 341.95°)
OKLaboklab(50.89% 0.1683 -0.0485)
OKLCHoklch(50.89% 0.175 343.9)
XYZxyz(20.2607, 11.4618, 20.8800)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52E7E #2EA555
analogous
#912EA5 #A52E7E #A52E43
triadic
#A52E7E #7EA52E #2E7EA5
tetradic
#A52E7E #A5912E #2EA555 #2E43A5
square
#A52E7E #A5912E #2EA555 #2E43A5
split-complementary
#A52E7E #43A52E #2EA591
monochromatic
#451335 #752159 #A52E7E #CB459F #D875B8

Accessibility & contrast

On white

6.38
#A52E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A52E7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52E7E
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52E7E#FFFFFF#000000##FFFFFF
##A52E7E1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5280
Deuteranopia (green-blind)
#5F667B
Tritanopia (blue-blind)
#B02D52
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52e7e;
/* rgb */ color: rgb(165, 46, 126);
/* oklch */ color: oklch(50.9% 0.175 343.9);
Tailwind
colors: {
  custom: {
    50: '#c371a3',
    500: '#a52e7e',
    950: '#000000',
  },
}
SCSS
$custom: #a52e7e;
$custom-light: #c371a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a52e7e",
  "rgb": {
    "r": 165,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 319.664,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50891,
    "c": 0.17513,
    "h": 343.9
  },
  "luminance": 0.1146
}

Semantic roles & 50–950 ramp

primary
#A52E7E
secondary
#6FC089
accent
#E07A48
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A52E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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