#C52A8A#C52A8A

#C52A8A is a mid, highly saturated pink. Relative luminance 0.154; OKLCH L 56.3% C 0.208 H 348.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C52A8A
RGBrgb(197, 42, 138)
HSLhsl(323, 65%, 47%)
HSVhsv(323, 79%, 77%)
CMYKcmyk(0%, 78.7%, 29.9%, 22.7%)
CIE-LABlab(46.13, 66.64, -16.17)
CIE-LCHlch(46.13, 68.57, 346.36°)
OKLaboklab(56.32% 0.2035 -0.0425)
OKLCHoklch(56.32% 0.208 348.2)
XYZxyz(28.4429, 15.3645, 25.5076)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52A8A #2AC565
analogous
#B32AC5 #C52A8A #C52A3C
triadic
#C52A8A #8AC52A #2A8AC5
tetradic
#C52A8A #C5B32A #2AC565 #2A3CC5
square
#C52A8A #C5B32A #2AC565 #2A3CC5
split-complementary
#C52A8A #3CC52A #2AC5B3
monochromatic
#601443 #931F67 #C52A8A #DA52A6 #E585C0

Accessibility & contrast

On white

5.16
#C52A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#C52A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52A8A
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52A8A#FFFFFF#000000##FFFFFF
##C52A8A1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445C8C
Deuteranopia (green-blind)
#727787
Tritanopia (blue-blind)
#D32157
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c52a8a;
/* rgb */ color: rgb(197, 42, 138);
/* oklch */ color: oklch(56.3% 0.208 348.2);
Tailwind
colors: {
  custom: {
    50: '#db75ac',
    500: '#c52a8a',
    950: '#000000',
  },
}
SCSS
$custom: #c52a8a;
$custom-light: #db75ac;
$custom-dark: #000000;
JSON
{
  "hex": "#c52a8a",
  "rgb": {
    "r": 197,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 322.839,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56319,
    "c": 0.20792,
    "h": 348.2
  },
  "luminance": 0.15361
}

Semantic roles & 50–950 ramp

primary
#C52A8A
secondary
#7DCE9C
accent
#E88040
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160910
muted
#847B7F

Preview Lab

Preview with #C52A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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