#C52A8E#C52A8E

#C52A8E is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.5% C 0.210 H 346.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#C52A8E
RGBrgb(197, 42, 142)
HSLhsl(321, 65%, 47%)
HSVhsv(321, 79%, 77%)
CMYKcmyk(0%, 78.7%, 27.9%, 22.7%)
CIE-LABlab(46.29, 67.11, -18.35)
CIE-LCHlch(46.29, 69.57, 344.70°)
OKLaboklab(56.49% 0.2044 -0.0486)
OKLCHoklch(56.49% 0.21 346.6)
XYZxyz(28.7378, 15.4825, 27.0610)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52A8E #2AC561
analogous
#AF2AC5 #C52A8E #C52A41
triadic
#C52A8E #8EC52A #2A8EC5
tetradic
#C52A8E #C5AF2A #2AC561 #2A41C5
square
#C52A8E #C5AF2A #2AC561 #2A41C5
split-complementary
#C52A8E #41C52A #2AC5AF
monochromatic
#601445 #931F6A #C52A8E #DA52AA #E585C3

Accessibility & contrast

On white

5.13
#C52A8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#C52A8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52A8E
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52A8E#FFFFFF#000000##FFFFFF
##C52A8E1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425D91
Deuteranopia (green-blind)
#70778B
Tritanopia (blue-blind)
#D32459
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c52a8e;
/* rgb */ color: rgb(197, 42, 142);
/* oklch */ color: oklch(56.5% 0.210 346.6);
Tailwind
colors: {
  custom: {
    50: '#db75af',
    500: '#c52a8e',
    950: '#000000',
  },
}
SCSS
$custom: #c52a8e;
$custom-light: #db75af;
$custom-dark: #000000;
JSON
{
  "hex": "#c52a8e",
  "rgb": {
    "r": 197,
    "g": 42,
    "b": 142
  },
  "hsl": {
    "h": 321.29,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56486,
    "c": 0.21005,
    "h": 346.6
  },
  "luminance": 0.15479
}

Semantic roles & 50–950 ramp

primary
#C52A8E
secondary
#7DCE9A
accent
#E87C40
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160910
muted
#847B7F

Preview Lab

Preview with #C52A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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