#C52F6D#C52F6D

#C52F6D is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.6% C 0.191 H 0.9°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#C52F6D
RGBrgb(197, 47, 109)
HSLhsl(335, 61%, 48%)
HSVhsv(335, 76%, 77%)
CMYKcmyk(0%, 76.1%, 44.7%, 22.7%)
CIE-LABlab(45.65, 62.16, 0.86)
CIE-LCHlch(45.65, 62.17, 0.79°)
OKLaboklab(55.64% 0.1908 0.0029)
OKLCHoklch(55.64% 0.191 0.9)
XYZxyz(26.8049, 15.0110, 15.9509)
Luminance0.1501 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52F6D #2FC587
analogous
#C52FB8 #C52F6D #C53C2F
triadic
#C52F6D #6DC52F #2F6DC5
tetradic
#C52F6D #B8C52F #2FC587 #3C2FC5
square
#C52F6D #B8C52F #2FC587 #3C2FC5
split-complementary
#C52F6D #2FC53C #2FB8C5
monochromatic
#621736 #942352 #C52F6D #D85A8E #E38BB0

Accessibility & contrast

On white

5.25
#C52F6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#C52F6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52F6D
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52F6D#FFFFFF#000000##FFFFFF
##C52F6D1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525A6E
Deuteranopia (green-blind)
#7A766A
Tritanopia (blue-blind)
#D6104A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c52f6d;
/* rgb */ color: rgb(197, 47, 109);
/* oklch */ color: oklch(55.6% 0.191 0.9);
Tailwind
colors: {
  custom: {
    50: '#dc7696',
    500: '#c52f6d',
    950: '#000000',
  },
}
SCSS
$custom: #c52f6d;
$custom-light: #dc7696;
$custom-dark: #000000;
JSON
{
  "hex": "#c52f6d",
  "rgb": {
    "r": 197,
    "g": 47,
    "b": 109
  },
  "hsl": {
    "h": 335.2,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55644,
    "c": 0.19084,
    "h": 0.9
  },
  "luminance": 0.15007
}

Semantic roles & 50–950 ramp

primary
#C52F6D
secondary
#82CDAE
accent
#E5A243
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C52F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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