#C52678#C52678

#C52678 is a mid, highly saturated pink. Relative luminance 0.146; OKLCH L 55.4% C 0.203 H 355.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#C52678
RGBrgb(197, 38, 120)
HSLhsl(329, 68%, 46%)
HSVhsv(329, 81%, 77%)
CMYKcmyk(0%, 80.7%, 39.1%, 22.7%)
CIE-LABlab(45.10, 65.76, -6.72)
CIE-LCHlch(45.10, 66.10, 354.16°)
OKLaboklab(55.36% 0.2024 -0.0169)
OKLCHoklch(55.36% 0.203 355.2)
XYZxyz(27.1112, 14.6161, 19.1592)
Luminance0.1461 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52678 #26C573
analogous
#C226C5 #C52678 #C52628
triadic
#C52678 #78C526 #2678C5
tetradic
#C52678 #C5C226 #26C573 #2628C5
square
#C52678 #C5C226 #26C573 #2628C5
split-complementary
#C52678 #28C526 #26C5C2
monochromatic
#5E1239 #921C59 #C52678 #DC4C96 #E67FB4

Accessibility & contrast

On white

5.35
#C52678 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#C52678 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52678
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52678#FFFFFF#000000##FFFFFF
##C526781.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49587A
Deuteranopia (green-blind)
#757574
Tritanopia (blue-blind)
#D5074C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c52678;
/* rgb */ color: rgb(197, 38, 120);
/* oklch */ color: oklch(55.4% 0.203 355.2);
Tailwind
colors: {
  custom: {
    50: '#dc739e',
    500: '#c52678',
    950: '#000000',
  },
}
SCSS
$custom: #c52678;
$custom-light: #dc739e;
$custom-dark: #000000;
JSON
{
  "hex": "#c52678",
  "rgb": {
    "r": 197,
    "g": 38,
    "b": 120
  },
  "hsl": {
    "h": 329.057,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55359,
    "c": 0.20306,
    "h": 355.2
  },
  "luminance": 0.14613
}

Semantic roles & 50–950 ramp

primary
#C52678
secondary
#78CFA2
accent
#EB913D
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C52678

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

Preview Lab → · Contrast checker → · Palette generator →

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