#C5287C#C5287C

#C5287C is a mid, highly saturated pink. Relative luminance 0.148; OKLCH L 55.6% C 0.203 H 353.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#C5287C
RGBrgb(197, 40, 124)
HSLhsl(328, 66%, 46%)
HSVhsv(328, 80%, 77%)
CMYKcmyk(0%, 79.7%, 37.1%, 22.7%)
CIE-LABlab(45.42, 65.64, -8.70)
CIE-LCHlch(45.42, 66.22, 352.45°)
OKLaboklab(55.64% 0.2018 -0.0222)
OKLCHoklch(55.64% 0.203 353.7)
XYZxyz(27.4247, 14.8466, 20.4864)
Luminance0.1484 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5287C #28C571
analogous
#C028C5 #C5287C #C5282E
triadic
#C5287C #7CC528 #287CC5
tetradic
#C5287C #C5C028 #28C571 #282EC5
square
#C5287C #C5C028 #28C571 #282EC5
split-complementary
#C5287C #2EC528 #28C5C0
monochromatic
#5F133C #921E5C #C5287C #DB4F9A #E682B7

Accessibility & contrast

On white

5.29
#C5287C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#C5287C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5287C
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5287C#FFFFFF#000000##FFFFFF
##C5287C1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49597E
Deuteranopia (green-blind)
#757679
Tritanopia (blue-blind)
#D5114F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c5287c;
/* rgb */ color: rgb(197, 40, 124);
/* oklch */ color: oklch(55.6% 0.203 353.7);
Tailwind
colors: {
  custom: {
    50: '#dc73a1',
    500: '#c5287c',
    950: '#000000',
  },
}
SCSS
$custom: #c5287c;
$custom-light: #dc73a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c5287c",
  "rgb": {
    "r": 197,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 327.898,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55637,
    "c": 0.20303,
    "h": 353.7
  },
  "luminance": 0.14843
}

Semantic roles & 50–950 ramp

primary
#C5287C
secondary
#7ACEA1
accent
#E98E3F
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090F
muted
#847B7E

Preview Lab

Preview with #C5287C

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

Preview Lab → · Contrast checker → · Palette generator →

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