#C5407D#C5407D

#C5407D is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.7% C 0.177 H 355.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C5407D
RGBrgb(197, 64, 125)
HSLhsl(332, 53%, 51%)
HSVhsv(332, 68%, 77%)
CMYKcmyk(0%, 67.5%, 36.5%, 22.7%)
CIE-LABlab(48.29, 57.81, -5.04)
CIE-LCHlch(48.29, 58.03, 355.01°)
OKLaboklab(57.75% 0.1769 -0.0125)
OKLCHoklch(57.75% 0.177 355.9)
XYZxyz(28.5628, 17.0211, 21.1793)
Luminance0.1702 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5407D #40C588
analogous
#C540C0 #C5407D #C54540
triadic
#C5407D #7DC540 #407DC5
tetradic
#C5407D #C0C540 #40C588 #4540C5
square
#C5407D #C0C540 #40C588 #4540C5
split-complementary
#C5407D #40C545 #40C0C5
monochromatic
#6A2042 #992F5F #C5407D #D36F9D #E29EBD

Accessibility & contrast

On white

4.77
#C5407D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#C5407D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5407D
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5407D#FFFFFF#000000##FFFFFF
##C5407D1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58637F
Deuteranopia (green-blind)
#7C7C7A
Tritanopia (blue-blind)
#D43459
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c5407d;
/* rgb */ color: rgb(197, 64, 125);
/* oklch */ color: oklch(57.7% 0.177 355.9);
Tailwind
colors: {
  custom: {
    50: '#db7ea2',
    500: '#c5407d',
    950: '#000000',
  },
}
SCSS
$custom: #c5407d;
$custom-light: #db7ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#c5407d",
  "rgb": {
    "r": 197,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 332.481,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57748,
    "c": 0.17738,
    "h": 355.9
  },
  "luminance": 0.17018
}

Semantic roles & 50–950 ramp

primary
#C5407D
secondary
#93CEB3
accent
#DD9A4B
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #C5407D

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

Preview Lab → · Contrast checker → · Palette generator →

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