#C52CBD#C52CBD

#C52CBD is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.9% C 0.238 H 330.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C52CBD
RGBrgb(197, 44, 189)
HSLhsl(303, 63%, 47%)
HSVhsv(303, 78%, 77%)
CMYKcmyk(0%, 77.7%, 4.1%, 22.7%)
CIE-LABlab(48.70, 72.96, -42.49)
CIE-LCHlch(48.70, 84.42, 329.79°)
OKLaboklab(58.94% 0.2073 -0.1173)
OKLCHoklch(58.94% 0.238 330.5)
XYZxyz(33.1119, 17.3485, 49.7389)
Luminance0.1735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52CBD #2CC534
analogous
#802CC5 #C52CBD #C52C71
triadic
#C52CBD #BDC52C #2CBDC5
tetradic
#C52CBD #C5802C #2CC534 #2C71C5
square
#C52CBD #C5802C #2CC534 #2C71C5
split-complementary
#C52CBD #71C52C #2CC580
monochromatic
#61165D #93218D #C52CBD #D955D2 #E487DF

Accessibility & contrast

On white

4.70
#C52CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#C52CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52CBD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52CBD#FFFFFF#000000##FFFFFF
##C52CBD1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1566C1
Deuteranopia (green-blind)
#5E7BB9
Tritanopia (blue-blind)
#CD4274
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c52cbd;
/* rgb */ color: rgb(197, 44, 189);
/* oklch */ color: oklch(58.9% 0.238 330.5);
Tailwind
colors: {
  custom: {
    50: '#db77d1',
    500: '#c52cbd',
    950: '#000000',
  },
}
SCSS
$custom: #c52cbd;
$custom-light: #db77d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c52cbd",
  "rgb": {
    "r": 197,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 303.137,
    "s": 63.485,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58939,
    "c": 0.23818,
    "h": 330.5
  },
  "luminance": 0.17346
}

Semantic roles & 50–950 ramp

primary
#C52CBD
secondary
#7FCE83
accent
#E74A41
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#150A14
muted
#847C82

Preview Lab

Preview with #C52CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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