#C64478#C64478

#C64478 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.2% C 0.171 H 359.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C64478
RGBrgb(198, 68, 120)
HSLhsl(336, 53%, 52%)
HSVhsv(336, 66%, 78%)
CMYKcmyk(0%, 65.7%, 39.4%, 22.4%)
CIE-LABlab(48.88, 55.96, -1.12)
CIE-LCHlch(48.88, 55.97, 358.86°)
OKLaboklab(58.17% 0.1712 -0.0022)
OKLCHoklch(58.17% 0.171 359.3)
XYZxyz(28.7479, 17.4994, 19.6295)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64478 #44C692
analogous
#C644B9 #C64478 #C65144
triadic
#C64478 #78C644 #4478C6
tetradic
#C64478 #B9C644 #44C692 #5144C6
square
#C64478 #B9C644 #44C692 #5144C6
split-complementary
#C64478 #44C651 #44B9C6
monochromatic
#6E2240 #9D305B #C64478 #D4739A #E3A2BC

Accessibility & contrast

On white

4.67
#C64478 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#C64478 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C64478
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64478#FFFFFF#000000##FFFFFF
##C644781.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6479
Deuteranopia (green-blind)
#807D75
Tritanopia (blue-blind)
#D63659
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c64478;
/* rgb */ color: rgb(198, 68, 120);
/* oklch */ color: oklch(58.2% 0.171 359.3);
Tailwind
colors: {
  custom: {
    50: '#dc809e',
    500: '#c64478',
    950: '#000000',
  },
}
SCSS
$custom: #c64478;
$custom-light: #dc809e;
$custom-dark: #000000;
JSON
{
  "hex": "#c64478",
  "rgb": {
    "r": 198,
    "g": 68,
    "b": 120
  },
  "hsl": {
    "h": 336,
    "s": 53.279,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5817,
    "c": 0.17122,
    "h": 359.3
  },
  "luminance": 0.17496
}

Semantic roles & 50–950 ramp

primary
#C64478
secondary
#97CFB9
accent
#DDA24B
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #C64478

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

Preview Lab → · Contrast checker → · Palette generator →

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