#C64CAF#C64CAF

#C64CAF is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.2% C 0.191 H 335.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#C64CAF
RGBrgb(198, 76, 175)
HSLhsl(311, 52%, 54%)
HSVhsv(311, 62%, 78%)
CMYKcmyk(0%, 61.6%, 11.6%, 22.4%)
CIE-LABlab(52.14, 59.85, -28.89)
CIE-LCHlch(52.14, 66.46, 334.23°)
OKLaboklab(61.24% 0.1746 -0.0785)
OKLCHoklch(61.24% 0.191 335.8)
XYZxyz(33.6113, 20.2725, 42.6919)
Luminance0.2027 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64CAF #4CC663
analogous
#A04CC6 #C64CAF #C64C72
triadic
#C64CAF #AFC64C #4CAFC6
tetradic
#C64CAF #C6A04C #4CC663 #4C72C6
square
#C64CAF #C6A04C #4CC663 #4C72C6
split-complementary
#C64CAF #72C64C #4CC6A0
monochromatic
#732564 #A1338D #C64CAF #D57AC4 #E4A9D8

Accessibility & contrast

On white

4.16
#C64CAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#C64CAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64CAF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64CAF#FFFFFF#000000##000000
##C64CAF1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D71B2
Deuteranopia (green-blind)
#7383AC
Tritanopia (blue-blind)
#CF5377
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c64caf;
/* rgb */ color: rgb(198, 76, 175);
/* oklch */ color: oklch(61.2% 0.191 335.8);
Tailwind
colors: {
  custom: {
    50: '#da85c7',
    500: '#c64caf',
    950: '#000000',
  },
}
SCSS
$custom: #c64caf;
$custom-light: #da85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c64caf",
  "rgb": {
    "r": 198,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 311.311,
    "s": 51.695,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61239,
    "c": 0.1914,
    "h": 335.8
  },
  "luminance": 0.2027
}

Semantic roles & 50–950 ramp

primary
#C64CAF
secondary
#9DD1A7
accent
#DB684D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C64CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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