#C64CA7#C64CA7

#C64CA7 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.9% C 0.186 H 338.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#C64CA7
RGBrgb(198, 76, 167)
HSLhsl(315, 52%, 54%)
HSVhsv(315, 62%, 78%)
CMYKcmyk(0%, 61.6%, 15.7%, 22.4%)
CIE-LABlab(51.80, 58.64, -24.74)
CIE-LCHlch(51.80, 63.65, 337.12°)
OKLaboklab(60.88% 0.1732 -0.0667)
OKLCHoklch(60.88% 0.186 338.9)
XYZxyz(32.8488, 19.9675, 38.6758)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64CA7 #4CC66B
analogous
#A84CC6 #C64CA7 #C64C6A
triadic
#C64CA7 #A7C64C #4CA7C6
tetradic
#C64CA7 #C6A84C #4CC66B #4C6AC6
square
#C64CA7 #C6A84C #4CC66B #4C6AC6
split-complementary
#C64CA7 #6AC64C #4CC6A8
monochromatic
#73255F #A13385 #C64CA7 #D57ABE #E4A9D5

Accessibility & contrast

On white

4.21
#C64CA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#C64CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64CA7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64CA7#FFFFFF#000000##000000
##C64CA71.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#516FAA
Deuteranopia (green-blind)
#7682A4
Tritanopia (blue-blind)
#D15073
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c64ca7;
/* rgb */ color: rgb(198, 76, 167);
/* oklch */ color: oklch(60.9% 0.186 338.9);
Tailwind
colors: {
  custom: {
    50: '#da85c1',
    500: '#c64ca7',
    950: '#000000',
  },
}
SCSS
$custom: #c64ca7;
$custom-light: #da85c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c64ca7",
  "rgb": {
    "r": 198,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 315.246,
    "s": 51.695,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60875,
    "c": 0.18561,
    "h": 338.9
  },
  "luminance": 0.19965
}

Semantic roles & 50–950 ramp

primary
#C64CA7
secondary
#9DD1AA
accent
#DB714D
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C64CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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