#C52F71#C52F71

#C52F71 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.8% C 0.192 H 359.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#C52F71
RGBrgb(197, 47, 113)
HSLhsl(334, 61%, 48%)
HSVhsv(334, 76%, 77%)
CMYKcmyk(0%, 76.1%, 42.6%, 22.7%)
CIE-LABlab(45.77, 62.54, -1.43)
CIE-LCHlch(45.77, 62.55, 358.69°)
OKLaboklab(55.77% 0.1921 -0.003)
OKLCHoklch(55.77% 0.192 359.1)
XYZxyz(27.0252, 15.0991, 17.1109)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52F71 #2FC583
analogous
#C52FBC #C52F71 #C5382F
triadic
#C52F71 #71C52F #2F71C5
tetradic
#C52F71 #BCC52F #2FC583 #382FC5
square
#C52F71 #BCC52F #2FC583 #382FC5
split-complementary
#C52F71 #2FC538 #2FBCC5
monochromatic
#621738 #942355 #C52F71 #D85A91 #E38BB2

Accessibility & contrast

On white

5.22
#C52F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#C52F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52F71
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52F71#FFFFFF#000000##FFFFFF
##C52F711.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505A73
Deuteranopia (green-blind)
#79776E
Tritanopia (blue-blind)
#D6144C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c52f71;
/* rgb */ color: rgb(197, 47, 113);
/* oklch */ color: oklch(55.8% 0.192 359.1);
Tailwind
colors: {
  custom: {
    50: '#dc7699',
    500: '#c52f71',
    950: '#000000',
  },
}
SCSS
$custom: #c52f71;
$custom-light: #dc7699;
$custom-dark: #000000;
JSON
{
  "hex": "#c52f71",
  "rgb": {
    "r": 197,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 333.6,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55772,
    "c": 0.19215,
    "h": 359.1
  },
  "luminance": 0.15096
}

Semantic roles & 50–950 ramp

primary
#C52F71
secondary
#82CDAC
accent
#E59E43
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C52F71

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

Preview Lab → · Contrast checker → · Palette generator →

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