#C52F6A#C52F6A

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

Color values

HEX#C52F6A
RGBrgb(197, 47, 106)
HSLhsl(336, 61%, 48%)
HSVhsv(336, 76%, 77%)
CMYKcmyk(0%, 76.1%, 46.2%, 22.7%)
CIE-LABlab(45.56, 61.89, 2.58)
CIE-LCHlch(45.56, 61.94, 2.39°)
OKLaboklab(55.55% 0.1898 0.0073)
OKLCHoklch(55.55% 0.19 2.2)
XYZxyz(26.6462, 14.9475, 15.1149)
Luminance0.1494 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52F6A #2FC58A
analogous
#C52FB5 #C52F6A #C53F2F
triadic
#C52F6A #6AC52F #2F6AC5
tetradic
#C52F6A #B5C52F #2FC58A #3F2FC5
square
#C52F6A #B5C52F #2FC58A #3F2FC5
split-complementary
#C52F6A #2FC53F #2FB5C5
monochromatic
#621735 #94234F #C52F6A #D85A8B #E38BAE

Accessibility & contrast

On white

5.26
#C52F6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C52F6A
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52F6A#FFFFFF#000000##FFFFFF
##C52F6A1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52596B
Deuteranopia (green-blind)
#7B7667
Tritanopia (blue-blind)
#D60D49
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c52f6a;
/* rgb */ color: rgb(197, 47, 106);
/* oklch */ color: oklch(55.6% 0.190 2.2);
Tailwind
colors: {
  custom: {
    50: '#dc7694',
    500: '#c52f6a',
    950: '#000000',
  },
}
SCSS
$custom: #c52f6a;
$custom-light: #dc7694;
$custom-dark: #000000;
JSON
{
  "hex": "#c52f6a",
  "rgb": {
    "r": 197,
    "g": 47,
    "b": 106
  },
  "hsl": {
    "h": 336.4,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55552,
    "c": 0.18994,
    "h": 2.2
  },
  "luminance": 0.14944
}

Semantic roles & 50–950 ramp

primary
#C52F6A
secondary
#82CDB0
accent
#E5A543
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C52F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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