#C5287A#C5287A

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

Color values

HEX#C5287A
RGBrgb(197, 40, 122)
HSLhsl(329, 66%, 46%)
HSVhsv(329, 80%, 77%)
CMYKcmyk(0%, 79.7%, 38.1%, 22.7%)
CIE-LABlab(45.35, 65.44, -7.58)
CIE-LCHlch(45.35, 65.87, 353.39°)
OKLaboklab(55.56% 0.2013 -0.0192)
OKLCHoklch(55.56% 0.202 354.6)
XYZxyz(27.2995, 14.7965, 19.8270)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5287A #28C573
analogous
#C228C5 #C5287A #C5282C
triadic
#C5287A #7AC528 #287AC5
tetradic
#C5287A #C5C228 #28C573 #282CC5
square
#C5287A #C5C228 #28C573 #282CC5
split-complementary
#C5287A #2CC528 #28C5C2
monochromatic
#5F133B #921E5A #C5287A #DB4F98 #E682B6

Accessibility & contrast

On white

5.30
#C5287A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#C5287A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5287A
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5287A#FFFFFF#000000##FFFFFF
##C5287A1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49597C
Deuteranopia (green-blind)
#757677
Tritanopia (blue-blind)
#D50F4E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c5287a;
/* rgb */ color: rgb(197, 40, 122);
/* oklch */ color: oklch(55.6% 0.202 354.6);
Tailwind
colors: {
  custom: {
    50: '#dc73a0',
    500: '#c5287a',
    950: '#000000',
  },
}
SCSS
$custom: #c5287a;
$custom-light: #dc73a0;
$custom-dark: #000000;
JSON
{
  "hex": "#c5287a",
  "rgb": {
    "r": 197,
    "g": 40,
    "b": 122
  },
  "hsl": {
    "h": 328.662,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55564,
    "c": 0.20217,
    "h": 354.6
  },
  "luminance": 0.14793
}

Semantic roles & 50–950 ramp

primary
#C5287A
secondary
#7ACEA3
accent
#E9903F
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C5287A

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

Preview Lab → · Contrast checker → · Palette generator →

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