#C52FA9#C52FA9

#C52FA9 is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 58.1% C 0.222 H 336.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C52FA9
RGBrgb(197, 47, 169)
HSLhsl(311, 61%, 48%)
HSVhsv(311, 76%, 77%)
CMYKcmyk(0%, 76.1%, 14.2%, 22.7%)
CIE-LABlab(47.97, 69.20, -31.89)
CIE-LCHlch(47.97, 76.19, 335.26°)
OKLaboklab(58.09% 0.2039 -0.0868)
OKLCHoklch(58.09% 0.222 336.9)
XYZxyz(31.2045, 16.7709, 39.1221)
Luminance0.1677 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52FA9 #2FC54B
analogous
#962FC5 #C52FA9 #C52F5E
triadic
#C52FA9 #A9C52F #2FA9C5
tetradic
#C52FA9 #C5962F #2FC54B #2F5EC5
square
#C52FA9 #C5962F #2FC54B #2F5EC5
split-complementary
#C52FA9 #5EC52F #2FC596
monochromatic
#621754 #94237F #C52FA9 #D85AC0 #E38BD3

Accessibility & contrast

On white

4.82
#C52FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#C52FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52FA9
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52FA9#FFFFFF#000000##FFFFFF
##C52FA91.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3363AC
Deuteranopia (green-blind)
#687AA6
Tritanopia (blue-blind)
#D0396A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c52fa9;
/* rgb */ color: rgb(197, 47, 169);
/* oklch */ color: oklch(58.1% 0.222 336.9);
Tailwind
colors: {
  custom: {
    50: '#db78c3',
    500: '#c52fa9',
    950: '#000000',
  },
}
SCSS
$custom: #c52fa9;
$custom-light: #db78c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c52fa9",
  "rgb": {
    "r": 197,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 311.2,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58089,
    "c": 0.22165,
    "h": 336.9
  },
  "luminance": 0.16768
}

Semantic roles & 50–950 ramp

primary
#C52FA9
secondary
#82CD90
accent
#E56143
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C52FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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