#C52371#C52371

#C52371 is a mid, highly saturated pink. Relative luminance 0.143; OKLCH L 54.9% C 0.203 H 357.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#C52371
RGBrgb(197, 35, 113)
HSLhsl(331, 70%, 45%)
HSVhsv(331, 82%, 77%)
CMYKcmyk(0%, 82.2%, 42.6%, 22.7%)
CIE-LABlab(44.62, 65.82, -3.13)
CIE-LCHlch(44.62, 65.89, 357.28°)
OKLaboklab(54.93% 0.2027 -0.0074)
OKLCHoklch(54.93% 0.203 357.9)
XYZxyz(26.6097, 14.2682, 16.9724)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52371 #23C577
analogous
#C523C2 #C52371 #C52623
triadic
#C52371 #71C523 #2371C5
tetradic
#C52371 #C2C523 #23C577 #2623C5
square
#C52371 #C2C523 #23C577 #2623C5
split-complementary
#C52371 #23C526 #23C2C5
monochromatic
#5D1135 #911A53 #C52371 #DE4790 #E87BAF

Accessibility & contrast

On white

5.45
#C52371 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#C52371 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52371
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52371#FFFFFF#000000##FFFFFF
##C523711.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5673
Deuteranopia (green-blind)
#76746D
Tritanopia (blue-blind)
#D60048
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c52371;
/* rgb */ color: rgb(197, 35, 113);
/* oklch */ color: oklch(54.9% 0.203 357.9);
Tailwind
colors: {
  custom: {
    50: '#dc7199',
    500: '#c52371',
    950: '#000000',
  },
}
SCSS
$custom: #c52371;
$custom-light: #dc7199;
$custom-dark: #000000;
JSON
{
  "hex": "#c52371",
  "rgb": {
    "r": 197,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 331.111,
    "s": 69.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54927,
    "c": 0.2028,
    "h": 357.9
  },
  "luminance": 0.14265
}

Semantic roles & 50–950 ramp

primary
#C52371
secondary
#74CFA4
accent
#ED973B
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C52371

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

Preview Lab → · Contrast checker → · Palette generator →

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