#C52774#C52774

#C52774 is a mid, highly saturated pink. Relative luminance 0.146; OKLCH L 55.3% C 0.201 H 357.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#C52774
RGBrgb(197, 39, 116)
HSLhsl(331, 67%, 46%)
HSVhsv(331, 80%, 77%)
CMYKcmyk(0%, 80.2%, 41.1%, 22.7%)
CIE-LABlab(45.06, 65.11, -4.32)
CIE-LCHlch(45.06, 65.25, 356.20°)
OKLaboklab(55.29% 0.2004 -0.0105)
OKLCHoklch(55.29% 0.201 357)
XYZxyz(26.9059, 14.5858, 17.9181)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52774 #27C578
analogous
#C527C3 #C52774 #C52927
triadic
#C52774 #74C527 #2774C5
tetradic
#C52774 #C3C527 #27C578 #2927C5
square
#C52774 #C3C527 #27C578 #2927C5
split-complementary
#C52774 #27C529 #27C3C5
monochromatic
#5F1338 #921D56 #C52774 #DC4D93 #E680B2

Accessibility & contrast

On white

5.36
#C52774 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C52774
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52774#FFFFFF#000000##FFFFFF
##C527741.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5876
Deuteranopia (green-blind)
#767570
Tritanopia (blue-blind)
#D5034B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c52774;
/* rgb */ color: rgb(197, 39, 116);
/* oklch */ color: oklch(55.3% 0.201 357.0);
Tailwind
colors: {
  custom: {
    50: '#dc739b',
    500: '#c52774',
    950: '#000000',
  },
}
SCSS
$custom: #c52774;
$custom-light: #dc739b;
$custom-dark: #000000;
JSON
{
  "hex": "#c52774",
  "rgb": {
    "r": 197,
    "g": 39,
    "b": 116
  },
  "hsl": {
    "h": 330.759,
    "s": 66.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55285,
    "c": 0.20064,
    "h": 357
  },
  "luminance": 0.14582
}

Semantic roles & 50–950 ramp

primary
#C52774
secondary
#79CFA5
accent
#EA963E
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C52774

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

Preview Lab → · Contrast checker → · Palette generator →

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