#C52B6A#C52B6A

#C52B6A is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.2% C 0.194 H 1.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#C52B6A
RGBrgb(197, 43, 106)
HSLhsl(335, 64%, 47%)
HSVhsv(335, 78%, 77%)
CMYKcmyk(0%, 78.2%, 46.2%, 22.7%)
CIE-LABlab(45.14, 63.08, 1.97)
CIE-LCHlch(45.14, 63.11, 1.79°)
OKLaboklab(55.24% 0.1936 0.0058)
OKLCHoklch(55.24% 0.194 1.7)
XYZxyz(26.4935, 14.6423, 15.0640)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52B6A #2BC586
analogous
#C52BB7 #C52B6A #C5392B
triadic
#C52B6A #6AC52B #2B6AC5
tetradic
#C52B6A #B7C52B #2BC586 #392BC5
square
#C52B6A #B7C52B #2BC586 #392BC5
split-complementary
#C52B6A #2BC539 #2BB7C5
monochromatic
#611534 #93204F #C52B6A #DA548A #E586AD

Accessibility & contrast

On white

5.35
#C52B6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#C52B6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52B6A
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52B6A#FFFFFF#000000##FFFFFF
##C52B6A1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50586B
Deuteranopia (green-blind)
#7A7566
Tritanopia (blue-blind)
#D60047
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c52b6a;
/* rgb */ color: rgb(197, 43, 106);
/* oklch */ color: oklch(55.2% 0.194 1.7);
Tailwind
colors: {
  custom: {
    50: '#dd7494',
    500: '#c52b6a',
    950: '#000000',
  },
}
SCSS
$custom: #c52b6a;
$custom-light: #dd7494;
$custom-dark: #000000;
JSON
{
  "hex": "#c52b6a",
  "rgb": {
    "r": 197,
    "g": 43,
    "b": 106
  },
  "hsl": {
    "h": 335.455,
    "s": 64.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55242,
    "c": 0.19373,
    "h": 1.7
  },
  "luminance": 0.14639
}

Semantic roles & 50–950 ramp

primary
#C52B6A
secondary
#7ECEAD
accent
#E7A341
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C52B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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