#C52571#C52571

#C52571 is a mid, highly saturated pink. Relative luminance 0.144; OKLCH L 55.1% C 0.201 H 358.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#C52571
RGBrgb(197, 37, 113)
HSLhsl(332, 68%, 46%)
HSVhsv(332, 81%, 77%)
CMYKcmyk(0%, 81.2%, 42.6%, 22.7%)
CIE-LABlab(44.79, 65.33, -2.88)
CIE-LCHlch(44.79, 65.39, 357.48°)
OKLaboklab(55.05% 0.2011 -0.0067)
OKLCHoklch(55.05% 0.201 358.1)
XYZxyz(26.6702, 14.3893, 16.9926)
Luminance0.1439 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52571 #25C579
analogous
#C525C1 #C52571 #C52925
triadic
#C52571 #71C525 #2571C5
tetradic
#C52571 #C1C525 #25C579 #2925C5
square
#C52571 #C1C525 #25C579 #2925C5
split-complementary
#C52571 #25C529 #25C1C5
monochromatic
#5E1236 #911B53 #C52571 #DD4A90 #E77EB0

Accessibility & contrast

On white

5.42
#C52571 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#C52571 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52571
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52571#FFFFFF#000000##FFFFFF
##C525711.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5773
Deuteranopia (green-blind)
#77756D
Tritanopia (blue-blind)
#D60048
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c52571;
/* rgb */ color: rgb(197, 37, 113);
/* oklch */ color: oklch(55.1% 0.201 358.1);
Tailwind
colors: {
  custom: {
    50: '#dc7299',
    500: '#c52571',
    950: '#000000',
  },
}
SCSS
$custom: #c52571;
$custom-light: #dc7299;
$custom-dark: #000000;
JSON
{
  "hex": "#c52571",
  "rgb": {
    "r": 197,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 331.5,
    "s": 68.376,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55052,
    "c": 0.2012,
    "h": 358.1
  },
  "luminance": 0.14386
}

Semantic roles & 50–950 ramp

primary
#C52571
secondary
#77CFA5
accent
#EB983D
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C52571

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

Preview Lab → · Contrast checker → · Palette generator →

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