#C52F6F#C52F6F

#C52F6F is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.7% C 0.191 H 360.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#C52F6F
RGBrgb(197, 47, 111)
HSLhsl(334, 61%, 48%)
HSVhsv(334, 76%, 77%)
CMYKcmyk(0%, 76.1%, 43.7%, 22.7%)
CIE-LABlab(45.71, 62.35, -0.29)
CIE-LCHlch(45.71, 62.35, 359.74°)
OKLaboklab(55.71% 0.1915 0)
OKLCHoklch(55.71% 0.191 0)
XYZxyz(26.9138, 15.0546, 16.5244)
Luminance0.1505 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52F6F #2FC585
analogous
#C52FBA #C52F6F #C53A2F
triadic
#C52F6F #6FC52F #2F6FC5
tetradic
#C52F6F #BAC52F #2FC585 #3A2FC5
square
#C52F6F #BAC52F #2FC585 #3A2FC5
split-complementary
#C52F6F #2FC53A #2FBAC5
monochromatic
#621737 #942353 #C52F6F #D85A8F #E38BB1

Accessibility & contrast

On white

5.24
#C52F6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#C52F6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52F6F
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52F6F#FFFFFF#000000##FFFFFF
##C52F6F1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515A71
Deuteranopia (green-blind)
#7A776C
Tritanopia (blue-blind)
#D6124B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c52f6f;
/* rgb */ color: rgb(197, 47, 111);
/* oklch */ color: oklch(55.7% 0.191 360.0);
Tailwind
colors: {
  custom: {
    50: '#dc7698',
    500: '#c52f6f',
    950: '#000000',
  },
}
SCSS
$custom: #c52f6f;
$custom-light: #dc7698;
$custom-dark: #000000;
JSON
{
  "hex": "#c52f6f",
  "rgb": {
    "r": 197,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 334.4,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55707,
    "c": 0.19148,
    "h": 360
  },
  "luminance": 0.15051
}

Semantic roles & 50–950 ramp

primary
#C52F6F
secondary
#82CDAD
accent
#E5A043
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C52F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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