#C5407F#C5407F

#C5407F is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.8% C 0.178 H 355.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C5407F
RGBrgb(197, 64, 127)
HSLhsl(332, 53%, 51%)
HSVhsv(332, 68%, 77%)
CMYKcmyk(0%, 67.5%, 35.5%, 22.7%)
CIE-LABlab(48.35, 58.03, -6.16)
CIE-LCHlch(48.35, 58.36, 353.94°)
OKLaboklab(57.82% 0.1776 -0.0155)
OKLCHoklch(57.82% 0.178 355)
XYZxyz(28.6918, 17.0727, 21.8590)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5407F #40C586
analogous
#C540C1 #C5407F #C54340
triadic
#C5407F #7FC540 #407FC5
tetradic
#C5407F #C1C540 #40C586 #4340C5
square
#C5407F #C1C540 #40C586 #4340C5
split-complementary
#C5407F #40C543 #40C1C5
monochromatic
#6A2043 #992F61 #C5407F #D36F9E #E29EBE

Accessibility & contrast

On white

4.76
#C5407F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C5407F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5407F
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5407F#FFFFFF#000000##FFFFFF
##C5407F1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576381
Deuteranopia (green-blind)
#7C7C7C
Tritanopia (blue-blind)
#D4355A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c5407f;
/* rgb */ color: rgb(197, 64, 127);
/* oklch */ color: oklch(57.8% 0.178 355.0);
Tailwind
colors: {
  custom: {
    50: '#db7ea4',
    500: '#c5407f',
    950: '#000000',
  },
}
SCSS
$custom: #c5407f;
$custom-light: #db7ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#c5407f",
  "rgb": {
    "r": 197,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 331.579,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57817,
    "c": 0.17823,
    "h": 355
  },
  "luminance": 0.17069
}

Semantic roles & 50–950 ramp

primary
#C5407F
secondary
#93CEB2
accent
#DD984B
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #C5407F

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

Preview Lab → · Contrast checker → · Palette generator →

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