#C64B8A#C64B8A

#C64B8A is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.6% C 0.169 H 351.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C64B8A
RGBrgb(198, 75, 138)
HSLhsl(329, 52%, 54%)
HSVhsv(329, 62%, 78%)
CMYKcmyk(0%, 62.1%, 30.3%, 22.4%)
CIE-LABlab(50.54, 55.10, -9.48)
CIE-LCHlch(50.54, 55.91, 350.23°)
OKLaboklab(59.59% 0.1676 -0.0245)
OKLCHoklch(59.59% 0.169 351.7)
XYZxyz(30.3937, 18.8760, 26.0826)
Luminance0.1887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64B8A #4BC687
analogous
#C44BC6 #C64B8A #C64B4C
triadic
#C64B8A #8AC64B #4B8AC6
tetradic
#C64B8A #C6C44B #4BC687 #4B4CC6
square
#C64B8A #C6C44B #4BC687 #4B4CC6
split-complementary
#C64B8A #4CC64B #4BC6C4
monochromatic
#72244C #A1336B #C64B8A #D579A8 #E3A8C6

Accessibility & contrast

On white

4.40
#C64B8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#C64B8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64B8A
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64B8A#FFFFFF#000000##000000
##C64B8A1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6A8C
Deuteranopia (green-blind)
#7E8087
Tritanopia (blue-blind)
#D44564
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c64b8a;
/* rgb */ color: rgb(198, 75, 138);
/* oklch */ color: oklch(59.6% 0.169 351.7);
Tailwind
colors: {
  custom: {
    50: '#db84ac',
    500: '#c64b8a',
    950: '#000000',
  },
}
SCSS
$custom: #c64b8a;
$custom-light: #db84ac;
$custom-dark: #000000;
JSON
{
  "hex": "#c64b8a",
  "rgb": {
    "r": 198,
    "g": 75,
    "b": 138
  },
  "hsl": {
    "h": 329.268,
    "s": 51.899,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59587,
    "c": 0.16936,
    "h": 351.7
  },
  "luminance": 0.18873
}

Semantic roles & 50–950 ramp

primary
#C64B8A
secondary
#9CD1B6
accent
#DB924C
background
#FDF8FA
surface
#FBF0F4
border
#D4CBCE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C64B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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