#C52E6A#C52E6A

#C52E6A is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.5% C 0.191 H 2.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#C52E6A
RGBrgb(197, 46, 106)
HSLhsl(336, 62%, 48%)
HSVhsv(336, 77%, 77%)
CMYKcmyk(0%, 76.6%, 46.2%, 22.7%)
CIE-LABlab(45.45, 62.19, 2.43)
CIE-LCHlch(45.45, 62.24, 2.24°)
OKLaboklab(55.47% 0.1908 0.0069)
OKLCHoklch(55.47% 0.191 2.1)
XYZxyz(26.6067, 14.8685, 15.1017)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52E6A #2EC589
analogous
#C52EB5 #C52E6A #C53D2E
triadic
#C52E6A #6AC52E #2E6AC5
tetradic
#C52E6A #B5C52E #2EC589 #3D2EC5
square
#C52E6A #B5C52E #2EC589 #3D2EC5
split-complementary
#C52E6A #2EC53D #2EB5C5
monochromatic
#621735 #93224F #C52E6A #D8588B #E48AAD

Accessibility & contrast

On white

5.29
#C52E6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#C52E6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52E6A
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52E6A#FFFFFF#000000##FFFFFF
##C52E6A1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52596B
Deuteranopia (green-blind)
#7A7666
Tritanopia (blue-blind)
#D60A48
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c52e6a;
/* rgb */ color: rgb(197, 46, 106);
/* oklch */ color: oklch(55.5% 0.191 2.1);
Tailwind
colors: {
  custom: {
    50: '#dc7594',
    500: '#c52e6a',
    950: '#000000',
  },
}
SCSS
$custom: #c52e6a;
$custom-light: #dc7594;
$custom-dark: #000000;
JSON
{
  "hex": "#c52e6a",
  "rgb": {
    "r": 197,
    "g": 46,
    "b": 106
  },
  "hsl": {
    "h": 336.159,
    "s": 62.14,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55472,
    "c": 0.19092,
    "h": 2.1
  },
  "luminance": 0.14865
}

Semantic roles & 50–950 ramp

primary
#C52E6A
secondary
#81CEAF
accent
#E5A543
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C52E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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