#C52CB9#C52CB9

#C52CB9 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.7% C 0.235 H 331.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C52CB9
RGBrgb(197, 44, 185)
HSLhsl(305, 63%, 47%)
HSVhsv(305, 78%, 77%)
CMYKcmyk(0%, 77.7%, 6.1%, 22.7%)
CIE-LABlab(48.48, 72.35, -40.49)
CIE-LCHlch(48.48, 82.91, 330.77°)
OKLaboklab(58.72% 0.2072 -0.1116)
OKLCHoklch(58.72% 0.235 331.7)
XYZxyz(32.6837, 17.1772, 47.4837)
Luminance0.1717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52CB9 #2CC538
analogous
#852CC5 #C52CB9 #C52C6D
triadic
#C52CB9 #B9C52C #2CB9C5
tetradic
#C52CB9 #C5852C #2CC538 #2C6DC5
square
#C52CB9 #C5852C #2CC538 #2C6DC5
split-complementary
#C52CB9 #6DC52C #2CC585
monochromatic
#61165B #93218A #C52CB9 #D955CF #E487DD

Accessibility & contrast

On white

4.74
#C52CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C52CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52CB9
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52CB9#FFFFFF#000000##FFFFFF
##C52CB91.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D66BD
Deuteranopia (green-blind)
#607AB5
Tritanopia (blue-blind)
#CD4072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c52cb9;
/* rgb */ color: rgb(197, 44, 185);
/* oklch */ color: oklch(58.7% 0.235 331.7);
Tailwind
colors: {
  custom: {
    50: '#db77ce',
    500: '#c52cb9',
    950: '#000000',
  },
}
SCSS
$custom: #c52cb9;
$custom-light: #db77ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c52cb9",
  "rgb": {
    "r": 197,
    "g": 44,
    "b": 185
  },
  "hsl": {
    "h": 304.706,
    "s": 63.485,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58717,
    "c": 0.23536,
    "h": 331.7
  },
  "luminance": 0.17174
}

Semantic roles & 50–950 ramp

primary
#C52CB9
secondary
#7FCE85
accent
#E74E41
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#150A14
muted
#847C82

Preview Lab

Preview with #C52CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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