#C64D9D#C64D9D

#C64D9D is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.6% C 0.177 H 343.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#C64D9D
RGBrgb(198, 77, 157)
HSLhsl(320, 51%, 54%)
HSVhsv(320, 61%, 78%)
CMYKcmyk(0%, 61.1%, 20.7%, 22.4%)
CIE-LABlab(51.55, 56.76, -19.24)
CIE-LCHlch(51.55, 59.93, 341.28°)
OKLaboklab(60.56% 0.1698 -0.0513)
OKLCHoklch(60.56% 0.177 343.2)
XYZxyz(32.0293, 19.7508, 34.0172)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64D9D #4DC676
analogous
#B34DC6 #C64D9D #C64D61
triadic
#C64D9D #9DC64D #4D9DC6
tetradic
#C64D9D #C6B34D #4DC676 #4D61C6
square
#C64D9D #C6B34D #4DC676 #4D61C6
split-complementary
#C64D9D #61C64D #4DC6B3
monochromatic
#742559 #A2347D #C64D9D #D57BB7 #E4AAD0

Accessibility & contrast

On white

4.24
#C64D9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#C64D9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64D9D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64D9D#FFFFFF#000000##000000
##C64D9D1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#576E9F
Deuteranopia (green-blind)
#7A829A
Tritanopia (blue-blind)
#D24D6E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c64d9d;
/* rgb */ color: rgb(198, 77, 157);
/* oklch */ color: oklch(60.6% 0.177 343.2);
Tailwind
colors: {
  custom: {
    50: '#da86ba',
    500: '#c64d9d',
    950: '#000000',
  },
}
SCSS
$custom: #c64d9d;
$custom-light: #da86ba;
$custom-dark: #000000;
JSON
{
  "hex": "#c64d9d",
  "rgb": {
    "r": 198,
    "g": 77,
    "b": 157
  },
  "hsl": {
    "h": 320.331,
    "s": 51.489,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60562,
    "c": 0.17742,
    "h": 343.2
  },
  "luminance": 0.19748
}

Semantic roles & 50–950 ramp

primary
#C64D9D
secondary
#9ED1AF
accent
#DB7D4D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C11
muted
#837D80

Preview Lab

Preview with #C64D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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