#C5407C#C5407C

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

Color values

HEX#C5407C
RGBrgb(197, 64, 124)
HSLhsl(333, 53%, 51%)
HSVhsv(333, 68%, 77%)
CMYKcmyk(0%, 67.5%, 37.1%, 22.7%)
CIE-LABlab(48.25, 57.70, -4.48)
CIE-LCHlch(48.25, 57.87, 355.56°)
OKLaboklab(57.71% 0.1766 -0.0111)
OKLCHoklch(57.71% 0.177 356.4)
XYZxyz(28.4992, 16.9957, 20.8446)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5407C #40C589
analogous
#C540BF #C5407C #C54640
triadic
#C5407C #7CC540 #407CC5
tetradic
#C5407C #BFC540 #40C589 #4640C5
square
#C5407C #BFC540 #40C589 #4640C5
split-complementary
#C5407C #40C546 #40BFC5
monochromatic
#6A2042 #992F5F #C5407C #D36F9C #E29EBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5407C#FFFFFF#000000##FFFFFF
##C5407C1.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)
#58637E
Deuteranopia (green-blind)
#7C7C79
Tritanopia (blue-blind)
#D43359
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c5407c;
/* rgb */ color: rgb(197, 64, 124);
/* oklch */ color: oklch(57.7% 0.177 356.4);
Tailwind
colors: {
  custom: {
    50: '#db7ea1',
    500: '#c5407c',
    950: '#000000',
  },
}
SCSS
$custom: #c5407c;
$custom-light: #db7ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#c5407c",
  "rgb": {
    "r": 197,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 332.932,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57713,
    "c": 0.17698,
    "h": 356.4
  },
  "luminance": 0.16992
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5407C

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

Preview Lab → · Contrast checker → · Palette generator →

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