#C52868#C52868

#C52868 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 55.0% C 0.196 H 2.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#C52868
RGBrgb(197, 40, 104)
HSLhsl(336, 66%, 46%)
HSVhsv(336, 80%, 77%)
CMYKcmyk(0%, 79.7%, 47.2%, 22.7%)
CIE-LABlab(44.79, 63.74, 2.70)
CIE-LCHlch(44.79, 63.80, 2.43°)
OKLaboklab(54.97% 0.1957 0.0076)
OKLCHoklch(54.97% 0.196 2.2)
XYZxyz(26.2857, 14.3910, 14.4876)
Luminance0.1439 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52868 #28C585
analogous
#C528B7 #C52868 #C53628
triadic
#C52868 #68C528 #2868C5
tetradic
#C52868 #B7C528 #28C585 #3628C5
square
#C52868 #B7C528 #28C585 #3628C5
split-complementary
#C52868 #28C536 #28B7C5
monochromatic
#5F1332 #921E4D #C52868 #DB4F88 #E682AA

Accessibility & contrast

On white

5.42
#C52868 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#C52868 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52868
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52868#FFFFFF#000000##FFFFFF
##C528681.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5769
Deuteranopia (green-blind)
#797564
Tritanopia (blue-blind)
#D60045
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c52868;
/* rgb */ color: rgb(197, 40, 104);
/* oklch */ color: oklch(55.0% 0.196 2.2);
Tailwind
colors: {
  custom: {
    50: '#dd7392',
    500: '#c52868',
    950: '#000000',
  },
}
SCSS
$custom: #c52868;
$custom-light: #dd7392;
$custom-dark: #000000;
JSON
{
  "hex": "#c52868",
  "rgb": {
    "r": 197,
    "g": 40,
    "b": 104
  },
  "hsl": {
    "h": 335.541,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54965,
    "c": 0.1958,
    "h": 2.2
  },
  "luminance": 0.14387
}

Semantic roles & 50–950 ramp

primary
#C52868
secondary
#7ACEAC
accent
#E9A43F
background
#FEF7F8
surface
#FDEDF0
border
#D5C8CB
text
#16090D
muted
#847B7D

Preview Lab

Preview with #C52868

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

Preview Lab → · Contrast checker → · Palette generator →

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