#C52A6A#C52A6A

#C52A6A is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.2% C 0.195 H 1.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#C52A6A
RGBrgb(197, 42, 106)
HSLhsl(335, 65%, 47%)
HSVhsv(335, 79%, 77%)
CMYKcmyk(0%, 78.7%, 46.2%, 22.7%)
CIE-LABlab(45.04, 63.36, 1.83)
CIE-LCHlch(45.04, 63.39, 1.65°)
OKLaboklab(55.17% 0.1946 0.0054)
OKLCHoklch(55.17% 0.195 1.6)
XYZxyz(26.4576, 14.5705, 15.0520)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52A6A #2AC585
analogous
#C52AB8 #C52A6A #C5382A
triadic
#C52A6A #6AC52A #2A6AC5
tetradic
#C52A6A #B8C52A #2AC585 #382AC5
square
#C52A6A #B8C52A #2AC585 #382AC5
split-complementary
#C52A6A #2AC538 #2AB8C5
monochromatic
#601434 #931F4F #C52A6A #DA528A #E585AC

Accessibility & contrast

On white

5.37
#C52A6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#C52A6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52A6A
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52A6A#FFFFFF#000000##FFFFFF
##C52A6A1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50576B
Deuteranopia (green-blind)
#797566
Tritanopia (blue-blind)
#D60047
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c52a6a;
/* rgb */ color: rgb(197, 42, 106);
/* oklch */ color: oklch(55.2% 0.195 1.6);
Tailwind
colors: {
  custom: {
    50: '#dd7494',
    500: '#c52a6a',
    950: '#000000',
  },
}
SCSS
$custom: #c52a6a;
$custom-light: #dd7494;
$custom-dark: #000000;
JSON
{
  "hex": "#c52a6a",
  "rgb": {
    "r": 197,
    "g": 42,
    "b": 106
  },
  "hsl": {
    "h": 335.226,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55168,
    "c": 0.19462,
    "h": 1.6
  },
  "luminance": 0.14567
}

Semantic roles & 50–950 ramp

primary
#C52A6A
secondary
#7DCEAC
accent
#E8A340
background
#FEF7F9
surface
#FDEDF1
border
#D5C8CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C52A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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