#C5287B#C5287B

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

Color values

HEX#C5287B
RGBrgb(197, 40, 123)
HSLhsl(328, 66%, 46%)
HSVhsv(328, 80%, 77%)
CMYKcmyk(0%, 79.7%, 37.6%, 22.7%)
CIE-LABlab(45.39, 65.54, -8.14)
CIE-LCHlch(45.39, 66.04, 352.92°)
OKLaboklab(55.6% 0.2015 -0.0207)
OKLCHoklch(55.6% 0.203 354.1)
XYZxyz(27.3618, 14.8214, 20.1550)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5287B #28C572
analogous
#C128C5 #C5287B #C5282D
triadic
#C5287B #7BC528 #287BC5
tetradic
#C5287B #C5C128 #28C572 #282DC5
square
#C5287B #C5C128 #28C572 #282DC5
split-complementary
#C5287B #2DC528 #28C5C1
monochromatic
#5F133B #921E5B #C5287B #DB4F99 #E682B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5287B#FFFFFF#000000##FFFFFF
##C5287B1.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)
#49597D
Deuteranopia (green-blind)
#757678
Tritanopia (blue-blind)
#D5104F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c5287b;
/* rgb */ color: rgb(197, 40, 123);
/* oklch */ color: oklch(55.6% 0.203 354.1);
Tailwind
colors: {
  custom: {
    50: '#dc73a1',
    500: '#c5287b',
    950: '#000000',
  },
}
SCSS
$custom: #c5287b;
$custom-light: #dc73a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c5287b",
  "rgb": {
    "r": 197,
    "g": 40,
    "b": 123
  },
  "hsl": {
    "h": 328.28,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.556,
    "c": 0.2026,
    "h": 354.1
  },
  "luminance": 0.14818
}

Semantic roles & 50–950 ramp

primary
#C5287B
secondary
#7ACEA2
accent
#E98F3F
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C5287B

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

Preview Lab → · Contrast checker → · Palette generator →

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