#C5408B#C5408B

#C5408B is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.3% C 0.184 H 349.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C5408B
RGBrgb(197, 64, 139)
HSLhsl(326, 53%, 51%)
HSVhsv(326, 68%, 77%)
CMYKcmyk(0%, 67.5%, 29.4%, 22.7%)
CIE-LABlab(48.77, 59.45, -12.77)
CIE-LCHlch(48.77, 60.81, 347.87°)
OKLaboklab(58.26% 0.1809 -0.0334)
OKLCHoklch(58.26% 0.184 349.6)
XYZxyz(29.5210, 17.4044, 26.2258)
Luminance0.1740 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5408B #40C57A
analogous
#BC40C5 #C5408B #C54048
triadic
#C5408B #8BC540 #408BC5
tetradic
#C5408B #C5BC40 #40C57A #4048C5
square
#C5408B #C5BC40 #40C57A #4048C5
split-complementary
#C5408B #48C540 #40C5BC
monochromatic
#6A204A #992F6B #C5408B #D36FA8 #E29EC4

Accessibility & contrast

On white

4.69
#C5408B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#C5408B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5408B
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5408B#FFFFFF#000000##FFFFFF
##C5408B1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53658D
Deuteranopia (green-blind)
#797C88
Tritanopia (blue-blind)
#D33A60
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c5408b;
/* rgb */ color: rgb(197, 64, 139);
/* oklch */ color: oklch(58.3% 0.184 349.6);
Tailwind
colors: {
  custom: {
    50: '#db7ead',
    500: '#c5408b',
    950: '#000000',
  },
}
SCSS
$custom: #c5408b;
$custom-light: #db7ead;
$custom-dark: #000000;
JSON
{
  "hex": "#c5408b",
  "rgb": {
    "r": 197,
    "g": 64,
    "b": 139
  },
  "hsl": {
    "h": 326.165,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58257,
    "c": 0.18398,
    "h": 349.6
  },
  "luminance": 0.17401
}

Semantic roles & 50–950 ramp

primary
#C5408B
secondary
#93CEAD
accent
#DD8B4B
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C5408B

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

Preview Lab → · Contrast checker → · Palette generator →

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