#C52873#C52873

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

Color values

HEX#C52873
RGBrgb(197, 40, 115)
HSLhsl(331, 66%, 46%)
HSVhsv(331, 80%, 77%)
CMYKcmyk(0%, 79.7%, 41.6%, 22.7%)
CIE-LABlab(45.12, 64.74, -3.61)
CIE-LCHlch(45.12, 64.85, 356.80°)
OKLaboklab(55.32% 0.1992 -0.0087)
OKLCHoklch(55.32% 0.199 357.5)
XYZxyz(26.8813, 14.6292, 17.6245)
Luminance0.1463 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52873 #28C57A
analogous
#C528C2 #C52873 #C52C28
triadic
#C52873 #73C528 #2873C5
tetradic
#C52873 #C2C528 #28C57A #2C28C5
square
#C52873 #C2C528 #28C57A #2C28C5
split-complementary
#C52873 #28C52C #28C2C5
monochromatic
#5F1338 #921E55 #C52873 #DB4F92 #E682B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C52873#FFFFFF#000000##FFFFFF
##C528731.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)
#4C5875
Deuteranopia (green-blind)
#77756F
Tritanopia (blue-blind)
#D5044A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c52873;
/* rgb */ color: rgb(197, 40, 115);
/* oklch */ color: oklch(55.3% 0.199 357.5);
Tailwind
colors: {
  custom: {
    50: '#dc739b',
    500: '#c52873',
    950: '#000000',
  },
}
SCSS
$custom: #c52873;
$custom-light: #dc739b;
$custom-dark: #000000;
JSON
{
  "hex": "#c52873",
  "rgb": {
    "r": 197,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 331.338,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55318,
    "c": 0.1994,
    "h": 357.5
  },
  "luminance": 0.14626
}

Semantic roles & 50–950 ramp

primary
#C52873
secondary
#7ACEA6
accent
#E9983F
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C52873

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

Preview Lab → · Contrast checker → · Palette generator →

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