#C52D71#C52D71

#C52D71 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.6% C 0.194 H 358.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#C52D71
RGBrgb(197, 45, 113)
HSLhsl(333, 63%, 47%)
HSVhsv(333, 77%, 77%)
CMYKcmyk(0%, 77.2%, 42.6%, 22.7%)
CIE-LABlab(45.56, 63.14, -1.74)
CIE-LCHlch(45.56, 63.17, 358.42°)
OKLaboklab(55.62% 0.1941 -0.0038)
OKLCHoklch(55.62% 0.194 358.9)
XYZxyz(26.9470, 14.9429, 17.0848)
Luminance0.1494 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52D71 #2DC581
analogous
#C52DBD #C52D71 #C5352D
triadic
#C52D71 #71C52D #2D71C5
tetradic
#C52D71 #BDC52D #2DC581 #352DC5
square
#C52D71 #BDC52D #2DC581 #352DC5
split-complementary
#C52D71 #2DC535 #2DBDC5
monochromatic
#611638 #932254 #C52D71 #D95791 #E488B1

Accessibility & contrast

On white

5.27
#C52D71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#C52D71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52D71
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52D71#FFFFFF#000000##FFFFFF
##C52D711.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5973
Deuteranopia (green-blind)
#79766E
Tritanopia (blue-blind)
#D6104B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c52d71;
/* rgb */ color: rgb(197, 45, 113);
/* oklch */ color: oklch(55.6% 0.194 358.9);
Tailwind
colors: {
  custom: {
    50: '#dc7599',
    500: '#c52d71',
    950: '#000000',
  },
}
SCSS
$custom: #c52d71;
$custom-light: #dc7599;
$custom-dark: #000000;
JSON
{
  "hex": "#c52d71",
  "rgb": {
    "r": 197,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 333.158,
    "s": 62.81,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55615,
    "c": 0.19411,
    "h": 358.9
  },
  "luminance": 0.14939
}

Semantic roles & 50–950 ramp

primary
#C52D71
secondary
#80CEAB
accent
#E69D42
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C52D71

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

Preview Lab → · Contrast checker → · Palette generator →

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