#C52CBA#C52CBA

#C52CBA is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.8% C 0.236 H 331.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C52CBA
RGBrgb(197, 44, 186)
HSLhsl(304, 63%, 47%)
HSVhsv(304, 78%, 77%)
CMYKcmyk(0%, 77.7%, 5.6%, 22.7%)
CIE-LABlab(48.54, 72.50, -40.99)
CIE-LCHlch(48.54, 83.29, 330.52°)
OKLaboklab(58.77% 0.2073 -0.113)
OKLCHoklch(58.77% 0.236 331.4)
XYZxyz(32.7896, 17.2196, 48.0416)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52CBA #2CC537
analogous
#842CC5 #C52CBA #C52C6D
triadic
#C52CBA #BAC52C #2CBAC5
tetradic
#C52CBA #C5842C #2CC537 #2C6DC5
square
#C52CBA #C5842C #2CC537 #2C6DC5
split-complementary
#C52CBA #6DC52C #2CC584
monochromatic
#61165C #93218B #C52CBA #D955D0 #E487DE

Accessibility & contrast

On white

4.73
#C52CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#C52CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52CBA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52CBA#FFFFFF#000000##FFFFFF
##C52CBA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B66BE
Deuteranopia (green-blind)
#5F7BB6
Tritanopia (blue-blind)
#CD4172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c52cba;
/* rgb */ color: rgb(197, 44, 186);
/* oklch */ color: oklch(58.8% 0.236 331.4);
Tailwind
colors: {
  custom: {
    50: '#db77cf',
    500: '#c52cba',
    950: '#000000',
  },
}
SCSS
$custom: #c52cba;
$custom-light: #db77cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c52cba",
  "rgb": {
    "r": 197,
    "g": 44,
    "b": 186
  },
  "hsl": {
    "h": 304.314,
    "s": 63.485,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58772,
    "c": 0.23606,
    "h": 331.4
  },
  "luminance": 0.17217
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C52CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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