#C52A6F#C52A6F

#C52A6F is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.3% C 0.196 H 359.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#C52A6F
RGBrgb(197, 42, 111)
HSLhsl(333, 65%, 47%)
HSVhsv(333, 79%, 77%)
CMYKcmyk(0%, 78.7%, 43.7%, 22.7%)
CIE-LABlab(45.19, 63.82, -1.05)
CIE-LCHlch(45.19, 63.83, 359.06°)
OKLaboklab(55.33% 0.1962 -0.002)
OKLCHoklch(55.33% 0.196 359.4)
XYZxyz(26.7253, 14.6775, 16.4616)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52A6F #2AC580
analogous
#C52ABD #C52A6F #C5322A
triadic
#C52A6F #6FC52A #2A6FC5
tetradic
#C52A6F #BDC52A #2AC580 #322AC5
square
#C52A6F #BDC52A #2AC580 #322AC5
split-complementary
#C52A6F #2AC532 #2ABDC5
monochromatic
#601436 #931F53 #C52A6F #DA528F #E585AF

Accessibility & contrast

On white

5.34
#C52A6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#C52A6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52A6F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52A6F#FFFFFF#000000##FFFFFF
##C52A6F1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5871
Deuteranopia (green-blind)
#78756B
Tritanopia (blue-blind)
#D60449
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c52a6f;
/* rgb */ color: rgb(197, 42, 111);
/* oklch */ color: oklch(55.3% 0.196 359.4);
Tailwind
colors: {
  custom: {
    50: '#dc7498',
    500: '#c52a6f',
    950: '#000000',
  },
}
SCSS
$custom: #c52a6f;
$custom-light: #dc7498;
$custom-dark: #000000;
JSON
{
  "hex": "#c52a6f",
  "rgb": {
    "r": 197,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 333.29,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55326,
    "c": 0.19621,
    "h": 359.4
  },
  "luminance": 0.14674
}

Semantic roles & 50–950 ramp

primary
#C52A6F
secondary
#7DCEAA
accent
#E89D40
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C52A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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