#C5477C#C5477C

#C5477C is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.5% C 0.168 H 357.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C5477C
RGBrgb(197, 71, 124)
HSLhsl(335, 52%, 53%)
HSVhsv(335, 64%, 77%)
CMYKcmyk(0%, 64%, 37.1%, 22.7%)
CIE-LABlab(49.30, 54.85, -2.95)
CIE-LCHlch(49.30, 54.93, 356.93°)
OKLaboklab(58.48% 0.1677 -0.007)
OKLCHoklch(58.48% 0.168 357.6)
XYZxyz(28.9190, 17.8353, 20.9845)
Luminance0.1783 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5477C #47C590
analogous
#C547BB #C5477C #C55147
triadic
#C5477C #7CC547 #477CC5
tetradic
#C5477C #BBC547 #47C590 #5147C5
square
#C5477C #BBC547 #47C590 #5147C5
split-complementary
#C5477C #47C551 #47BBC5
monochromatic
#6F2343 #9D325F #C5477C #D4769D #E2A4BE

Accessibility & contrast

On white

4.60
#C5477C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#C5477C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C5477C
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5477C#FFFFFF#000000##FFFFFF
##C5477C1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D667D
Deuteranopia (green-blind)
#7F7E79
Tritanopia (blue-blind)
#D43C5C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c5477c;
/* rgb */ color: rgb(197, 71, 124);
/* oklch */ color: oklch(58.5% 0.168 357.6);
Tailwind
colors: {
  custom: {
    50: '#db81a1',
    500: '#c5477c',
    950: '#000000',
  },
}
SCSS
$custom: #c5477c;
$custom-light: #db81a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c5477c",
  "rgb": {
    "r": 197,
    "g": 71,
    "b": 124
  },
  "hsl": {
    "h": 334.762,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58484,
    "c": 0.1678,
    "h": 357.6
  },
  "luminance": 0.17832
}

Semantic roles & 50–950 ramp

primary
#C5477C
secondary
#99CFB8
accent
#DC9F4C
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#150B0F
muted
#847C7E

Preview Lab

Preview with #C5477C

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

Preview Lab → · Contrast checker → · Palette generator →

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