#C5477B#C5477B

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

Color values

HEX#C5477B
RGBrgb(197, 71, 123)
HSLhsl(335, 52%, 53%)
HSVhsv(335, 64%, 77%)
CMYKcmyk(0%, 64%, 37.6%, 22.7%)
CIE-LABlab(49.27, 54.73, -2.39)
CIE-LCHlch(49.27, 54.79, 357.50°)
OKLaboklab(58.45% 0.1673 -0.0056)
OKLCHoklch(58.45% 0.167 358.1)
XYZxyz(28.8561, 17.8101, 20.6531)
Luminance0.1781 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5477B #47C591
analogous
#C547BA #C5477B #C55247
triadic
#C5477B #7BC547 #477BC5
tetradic
#C5477B #BAC547 #47C591 #5247C5
square
#C5477B #BAC547 #47C591 #5247C5
split-complementary
#C5477B #47C552 #47BAC5
monochromatic
#6F2342 #9D325E #C5477B #D4769C #E2A4BE

Accessibility & contrast

On white

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

On black

4.56
#C5477B on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C5477B#FFFFFF#000000##FFFFFF
##C5477B1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E667C
Deuteranopia (green-blind)
#807E78
Tritanopia (blue-blind)
#D43B5C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c5477b;
/* rgb */ color: rgb(197, 71, 123);
/* oklch */ color: oklch(58.5% 0.167 358.1);
Tailwind
colors: {
  custom: {
    50: '#db81a1',
    500: '#c5477b',
    950: '#000000',
  },
}
SCSS
$custom: #c5477b;
$custom-light: #db81a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c5477b",
  "rgb": {
    "r": 197,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 335.238,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58451,
    "c": 0.16741,
    "h": 358.1
  },
  "luminance": 0.17807
}

Semantic roles & 50–950 ramp

primary
#C5477B
secondary
#99CFB9
accent
#DCA04C
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #C5477B

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

Preview Lab → · Contrast checker → · Palette generator →

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