#C52875#C52875

#C52875 is a mid, highly saturated pink. Relative luminance 0.147; OKLCH L 55.4% C 0.200 H 356.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#C52875
RGBrgb(197, 40, 117)
HSLhsl(331, 66%, 46%)
HSVhsv(331, 80%, 77%)
CMYKcmyk(0%, 79.7%, 40.6%, 22.7%)
CIE-LABlab(45.19, 64.94, -4.75)
CIE-LCHlch(45.19, 65.11, 355.82°)
OKLaboklab(55.39% 0.1998 -0.0117)
OKLCHoklch(55.39% 0.2 356.7)
XYZxyz(26.9976, 14.6758, 18.2372)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52875 #28C578
analogous
#C528C4 #C52875 #C52928
triadic
#C52875 #75C528 #2875C5
tetradic
#C52875 #C4C528 #28C578 #2928C5
square
#C52875 #C4C528 #28C578 #2928C5
split-complementary
#C52875 #28C529 #28C4C5
monochromatic
#5F1339 #921E57 #C52875 #DB4F94 #E682B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C52875#FFFFFF#000000##FFFFFF
##C528751.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)
#4B5877
Deuteranopia (green-blind)
#767571
Tritanopia (blue-blind)
#D5074C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c52875;
/* rgb */ color: rgb(197, 40, 117);
/* oklch */ color: oklch(55.4% 0.200 356.7);
Tailwind
colors: {
  custom: {
    50: '#dc739c',
    500: '#c52875',
    950: '#000000',
  },
}
SCSS
$custom: #c52875;
$custom-light: #dc739c;
$custom-dark: #000000;
JSON
{
  "hex": "#c52875",
  "rgb": {
    "r": 197,
    "g": 40,
    "b": 117
  },
  "hsl": {
    "h": 330.573,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55387,
    "c": 0.20016,
    "h": 356.7
  },
  "luminance": 0.14672
}

Semantic roles & 50–950 ramp

primary
#C52875
secondary
#7ACEA5
accent
#E9963F
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C52875

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

Preview Lab → · Contrast checker → · Palette generator →

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