#C52971#C52971

#C52971 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.3% C 0.198 H 358.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#C52971
RGBrgb(197, 41, 113)
HSLhsl(332, 66%, 47%)
HSVhsv(332, 79%, 77%)
CMYKcmyk(0%, 79.2%, 42.6%, 22.7%)
CIE-LABlab(45.15, 64.28, -2.33)
CIE-LCHlch(45.15, 64.33, 357.92°)
OKLaboklab(55.32% 0.1977 -0.0053)
OKLCHoklch(55.32% 0.198 358.5)
XYZxyz(26.8016, 14.6520, 17.0364)
Luminance0.1465 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52971 #29C57D
analogous
#C529BF #C52971 #C52F29
triadic
#C52971 #71C529 #2971C5
tetradic
#C52971 #BFC529 #29C57D #2F29C5
square
#C52971 #BFC529 #29C57D #2F29C5
split-complementary
#C52971 #29C52F #29BFC5
monochromatic
#601437 #921E54 #C52971 #DB5190 #E583B0

Accessibility & contrast

On white

5.34
#C52971 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C52971
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52971#FFFFFF#000000##FFFFFF
##C529711.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5873
Deuteranopia (green-blind)
#78756D
Tritanopia (blue-blind)
#D6044A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c52971;
/* rgb */ color: rgb(197, 41, 113);
/* oklch */ color: oklch(55.3% 0.198 358.5);
Tailwind
colors: {
  custom: {
    50: '#dc7399',
    500: '#c52971',
    950: '#000000',
  },
}
SCSS
$custom: #c52971;
$custom-light: #dc7399;
$custom-dark: #000000;
JSON
{
  "hex": "#c52971",
  "rgb": {
    "r": 197,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 332.308,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55321,
    "c": 0.1978,
    "h": 358.5
  },
  "luminance": 0.14648
}

Semantic roles & 50–950 ramp

primary
#C52971
secondary
#7CCEA8
accent
#E89A3F
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C52971

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

Preview Lab → · Contrast checker → · Palette generator →

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