#C5408C#C5408C

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

Color values

HEX#C5408C
RGBrgb(197, 64, 140)
HSLhsl(326, 53%, 51%)
HSVhsv(326, 68%, 77%)
CMYKcmyk(0%, 67.5%, 28.9%, 22.7%)
CIE-LABlab(48.80, 59.57, -13.32)
CIE-LCHlch(48.80, 61.04, 347.40°)
OKLaboklab(58.3% 0.1812 -0.0349)
OKLCHoklch(58.3% 0.185 349.1)
XYZxyz(29.5944, 17.4337, 26.6124)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5408C #40C579
analogous
#BB40C5 #C5408C #C54049
triadic
#C5408C #8CC540 #408CC5
tetradic
#C5408C #C5BB40 #40C579 #4049C5
square
#C5408C #C5BB40 #40C579 #4049C5
split-complementary
#C5408C #49C540 #40C5BB
monochromatic
#6A204B #992F6C #C5408C #D36FA8 #E29EC5

Accessibility & contrast

On white

4.68
#C5408C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#C5408C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5408C
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5408C#FFFFFF#000000##FFFFFF
##C5408C1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52658E
Deuteranopia (green-blind)
#787C89
Tritanopia (blue-blind)
#D33A60
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c5408c;
/* rgb */ color: rgb(197, 64, 140);
/* oklch */ color: oklch(58.3% 0.184 349.1);
Tailwind
colors: {
  custom: {
    50: '#db7ead',
    500: '#c5408c',
    950: '#000000',
  },
}
SCSS
$custom: #c5408c;
$custom-light: #db7ead;
$custom-dark: #000000;
JSON
{
  "hex": "#c5408c",
  "rgb": {
    "r": 197,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 325.714,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58296,
    "c": 0.1845,
    "h": 349.1
  },
  "luminance": 0.17431
}

Semantic roles & 50–950 ramp

primary
#C5408C
secondary
#93CEAC
accent
#DD894B
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C5408C

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

Preview Lab → · Contrast checker → · Palette generator →

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