#C52872#C52872

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

Color values

HEX#C52872
RGBrgb(197, 40, 114)
HSLhsl(332, 66%, 46%)
HSVhsv(332, 80%, 77%)
CMYKcmyk(0%, 79.7%, 42.1%, 22.7%)
CIE-LABlab(45.09, 64.65, -3.04)
CIE-LCHlch(45.09, 64.72, 357.30°)
OKLaboklab(55.28% 0.1989 -0.0072)
OKLCHoklch(55.28% 0.199 357.9)
XYZxyz(26.8241, 14.6064, 17.3231)
Luminance0.1460 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52872 #28C57B
analogous
#C528C1 #C52872 #C52D28
triadic
#C52872 #72C528 #2872C5
tetradic
#C52872 #C1C528 #28C57B #2D28C5
square
#C52872 #C1C528 #28C57B #2D28C5
split-complementary
#C52872 #28C52D #28C1C5
monochromatic
#5F1337 #921E55 #C52872 #DB4F91 #E682B1

Accessibility & contrast

On white

5.36
#C52872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C52872
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52872#FFFFFF#000000##FFFFFF
##C528721.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5874
Deuteranopia (green-blind)
#77756E
Tritanopia (blue-blind)
#D6034A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c52872;
/* rgb */ color: rgb(197, 40, 114);
/* oklch */ color: oklch(55.3% 0.199 357.9);
Tailwind
colors: {
  custom: {
    50: '#dc739a',
    500: '#c52872',
    950: '#000000',
  },
}
SCSS
$custom: #c52872;
$custom-light: #dc739a;
$custom-dark: #000000;
JSON
{
  "hex": "#c52872",
  "rgb": {
    "r": 197,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 331.72,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55284,
    "c": 0.19904,
    "h": 357.9
  },
  "luminance": 0.14603
}

Semantic roles & 50–950 ramp

primary
#C52872
secondary
#7ACEA7
accent
#E9993F
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C52872

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

Preview Lab → · Contrast checker → · Palette generator →

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