#C52F77#C52F77

#C52F77 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 56.0% C 0.194 H 356.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#C52F77
RGBrgb(197, 47, 119)
HSLhsl(331, 61%, 48%)
HSVhsv(331, 76%, 77%)
CMYKcmyk(0%, 76.1%, 39.6%, 22.7%)
CIE-LABlab(45.96, 63.13, -4.84)
CIE-LCHlch(45.96, 63.31, 355.62°)
OKLaboklab(55.97% 0.194 -0.0119)
OKLCHoklch(55.97% 0.194 356.5)
XYZxyz(27.3742, 15.2387, 18.9490)
Luminance0.1524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52F77 #2FC57D
analogous
#C52FC2 #C52F77 #C5322F
triadic
#C52F77 #77C52F #2F77C5
tetradic
#C52F77 #C2C52F #2FC57D #322FC5
square
#C52F77 #C2C52F #2FC57D #322FC5
split-complementary
#C52F77 #2FC532 #2FC2C5
monochromatic
#62173B #942359 #C52F77 #D85A96 #E38BB5

Accessibility & contrast

On white

5.19
#C52F77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C52F77
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52F77#FFFFFF#000000##FFFFFF
##C52F771.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5B79
Deuteranopia (green-blind)
#787774
Tritanopia (blue-blind)
#D5194F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c52f77;
/* rgb */ color: rgb(197, 47, 119);
/* oklch */ color: oklch(56.0% 0.194 356.5);
Tailwind
colors: {
  custom: {
    50: '#dc769e',
    500: '#c52f77',
    950: '#000000',
  },
}
SCSS
$custom: #c52f77;
$custom-light: #dc769e;
$custom-dark: #000000;
JSON
{
  "hex": "#c52f77",
  "rgb": {
    "r": 197,
    "g": 47,
    "b": 119
  },
  "hsl": {
    "h": 331.2,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55973,
    "c": 0.19437,
    "h": 356.5
  },
  "luminance": 0.15235
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C52F77

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

Preview Lab → · Contrast checker → · Palette generator →

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