#C52A8F#C52A8F

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

Color values

HEX#C52A8F
RGBrgb(197, 42, 143)
HSLhsl(321, 65%, 47%)
HSVhsv(321, 79%, 77%)
CMYKcmyk(0%, 78.7%, 27.4%, 22.7%)
CIE-LABlab(46.33, 67.23, -18.89)
CIE-LCHlch(46.33, 69.83, 344.30°)
OKLaboklab(56.53% 0.2045 -0.0501)
OKLCHoklch(56.53% 0.211 346.2)
XYZxyz(28.8132, 15.5127, 27.4582)
Luminance0.1551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52A8F #2AC560
analogous
#AE2AC5 #C52A8F #C52A42
triadic
#C52A8F #8FC52A #2A8FC5
tetradic
#C52A8F #C5AE2A #2AC560 #2A42C5
square
#C52A8F #C5AE2A #2AC560 #2A42C5
split-complementary
#C52A8F #42C52A #2AC5AE
monochromatic
#601446 #931F6A #C52A8F #DA52AB #E585C3

Accessibility & contrast

On white

5.12
#C52A8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C52A8F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52A8F#FFFFFF#000000##FFFFFF
##C52A8F1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415D92
Deuteranopia (green-blind)
#70778C
Tritanopia (blue-blind)
#D3255A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c52a8f;
/* rgb */ color: rgb(197, 42, 143);
/* oklch */ color: oklch(56.5% 0.211 346.2);
Tailwind
colors: {
  custom: {
    50: '#db75b0',
    500: '#c52a8f',
    950: '#000000',
  },
}
SCSS
$custom: #c52a8f;
$custom-light: #db75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#c52a8f",
  "rgb": {
    "r": 197,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 320.903,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56529,
    "c": 0.21059,
    "h": 346.2
  },
  "luminance": 0.15509
}

Semantic roles & 50–950 ramp

primary
#C52A8F
secondary
#7DCE99
accent
#E87A40
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160910
muted
#847B7F

Preview Lab

Preview with #C52A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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