#C52F78#C52F78

#C52F78 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 56.0% C 0.195 H 356.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#C52F78
RGBrgb(197, 47, 120)
HSLhsl(331, 61%, 48%)
HSVhsv(331, 76%, 77%)
CMYKcmyk(0%, 76.1%, 39.1%, 22.7%)
CIE-LABlab(45.99, 63.23, -5.40)
CIE-LCHlch(45.99, 63.46, 355.12°)
OKLaboklab(56.01% 0.1943 -0.0134)
OKLCHoklch(56.01% 0.195 356)
XYZxyz(27.4345, 15.2629, 19.2670)
Luminance0.1526 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52F78 #2FC57C
analogous
#C52FC3 #C52F78 #C5312F
triadic
#C52F78 #78C52F #2F78C5
tetradic
#C52F78 #C3C52F #2FC57C #312FC5
square
#C52F78 #C3C52F #2FC57C #312FC5
split-complementary
#C52F78 #2FC531 #2FC3C5
monochromatic
#62173C #94235A #C52F78 #D85A97 #E38BB6

Accessibility & contrast

On white

5.18
#C52F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#C52F78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52F78
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52F78#FFFFFF#000000##FFFFFF
##C52F781.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5B7A
Deuteranopia (green-blind)
#787775
Tritanopia (blue-blind)
#D51A50
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c52f78;
/* rgb */ color: rgb(197, 47, 120);
/* oklch */ color: oklch(56.0% 0.195 356.0);
Tailwind
colors: {
  custom: {
    50: '#dc769e',
    500: '#c52f78',
    950: '#000000',
  },
}
SCSS
$custom: #c52f78;
$custom-light: #dc769e;
$custom-dark: #000000;
JSON
{
  "hex": "#c52f78",
  "rgb": {
    "r": 197,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 330.8,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56008,
    "c": 0.19476,
    "h": 356
  },
  "luminance": 0.15259
}

Semantic roles & 50–950 ramp

primary
#C52F78
secondary
#82CDA9
accent
#E59643
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #C52F78

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

Preview Lab → · Contrast checker → · Palette generator →

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