#C64CA5#C64CA5

#C64CA5 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.8% C 0.184 H 339.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C64CA5
RGBrgb(198, 76, 165)
HSLhsl(316, 52%, 54%)
HSVhsv(316, 62%, 78%)
CMYKcmyk(0%, 61.6%, 16.7%, 22.4%)
CIE-LABlab(51.72, 58.34, -23.70)
CIE-LCHlch(51.72, 62.97, 337.89°)
OKLaboklab(60.79% 0.1728 -0.0638)
OKLCHoklch(60.79% 0.184 339.7)
XYZxyz(32.6653, 19.8941, 37.7096)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64CA5 #4CC66D
analogous
#AA4CC6 #C64CA5 #C64C68
triadic
#C64CA5 #A5C64C #4CA5C6
tetradic
#C64CA5 #C6AA4C #4CC66D #4C68C6
square
#C64CA5 #C6AA4C #4CC66D #4C68C6
split-complementary
#C64CA5 #68C64C #4CC6AA
monochromatic
#73255E #A13384 #C64CA5 #D57ABC #E4A9D4

Accessibility & contrast

On white

4.22
#C64CA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#C64CA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64CA5
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64CA5#FFFFFF#000000##000000
##C64CA51.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#526FA8
Deuteranopia (green-blind)
#7782A2
Tritanopia (blue-blind)
#D14F72
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c64ca5;
/* rgb */ color: rgb(198, 76, 165);
/* oklch */ color: oklch(60.8% 0.184 339.7);
Tailwind
colors: {
  custom: {
    50: '#da85c0',
    500: '#c64ca5',
    950: '#000000',
  },
}
SCSS
$custom: #c64ca5;
$custom-light: #da85c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c64ca5",
  "rgb": {
    "r": 198,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 316.23,
    "s": 51.695,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60787,
    "c": 0.18422,
    "h": 339.7
  },
  "luminance": 0.19891
}

Semantic roles & 50–950 ramp

primary
#C64CA5
secondary
#9DD1AB
accent
#DB734D
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C64CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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