#C52A6C#C52A6C

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

Color values

HEX#C52A6C
RGBrgb(197, 42, 108)
HSLhsl(334, 65%, 47%)
HSVhsv(334, 79%, 77%)
CMYKcmyk(0%, 78.7%, 45.2%, 22.7%)
CIE-LABlab(45.10, 63.54, 0.68)
CIE-LCHlch(45.10, 63.55, 0.61°)
OKLaboklab(55.23% 0.1952 0.0024)
OKLCHoklch(55.23% 0.195 0.7)
XYZxyz(26.5629, 14.6125, 15.6062)
Luminance0.1461 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52A6C #2AC583
analogous
#C52ABA #C52A6C #C5362A
triadic
#C52A6C #6CC52A #2A6CC5
tetradic
#C52A6C #BAC52A #2AC583 #362AC5
square
#C52A6C #BAC52A #2AC583 #362AC5
split-complementary
#C52A6C #2AC536 #2ABAC5
monochromatic
#601435 #931F50 #C52A6C #DA528C #E585AE

Accessibility & contrast

On white

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

On black

3.92
#C52A6C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C52A6C#FFFFFF#000000##FFFFFF
##C52A6C1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F586E
Deuteranopia (green-blind)
#797568
Tritanopia (blue-blind)
#D60048
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c52a6c;
/* rgb */ color: rgb(197, 42, 108);
/* oklch */ color: oklch(55.2% 0.195 0.7);
Tailwind
colors: {
  custom: {
    50: '#dc7495',
    500: '#c52a6c',
    950: '#000000',
  },
}
SCSS
$custom: #c52a6c;
$custom-light: #dc7495;
$custom-dark: #000000;
JSON
{
  "hex": "#c52a6c",
  "rgb": {
    "r": 197,
    "g": 42,
    "b": 108
  },
  "hsl": {
    "h": 334.452,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55231,
    "c": 0.19524,
    "h": 0.7
  },
  "luminance": 0.14609
}

Semantic roles & 50–950 ramp

primary
#C52A6C
secondary
#7DCEAB
accent
#E8A040
background
#FEF7F9
surface
#FCEDF1
border
#D5C8CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C52A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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