#C64DA7#C64DA7

#C64DA7 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.0% C 0.184 H 339.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#C64DA7
RGBrgb(198, 77, 167)
HSLhsl(315, 51%, 54%)
HSVhsv(315, 61%, 78%)
CMYKcmyk(0%, 61.1%, 15.7%, 22.4%)
CIE-LABlab(51.96, 58.21, -24.50)
CIE-LCHlch(51.96, 63.16, 337.17°)
OKLaboklab(60.99% 0.1719 -0.0661)
OKLCHoklch(60.99% 0.184 339)
XYZxyz(32.9182, 20.1063, 38.6989)
Luminance0.2010 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64DA7 #4DC66C
analogous
#A94DC6 #C64DA7 #C64D6B
triadic
#C64DA7 #A7C64D #4DA7C6
tetradic
#C64DA7 #C6A94D #4DC66C #4D6BC6
square
#C64DA7 #C6A94D #4DC66C #4D6BC6
split-complementary
#C64DA7 #6BC64D #4DC6A9
monochromatic
#74255F #A23486 #C64DA7 #D57BBE #E4AAD5

Accessibility & contrast

On white

4.18
#C64DA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#C64DA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64DA7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64DA7#FFFFFF#000000##000000
##C64DA71.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5270AA
Deuteranopia (green-blind)
#7783A4
Tritanopia (blue-blind)
#D15173
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c64da7;
/* rgb */ color: rgb(198, 77, 167);
/* oklch */ color: oklch(61.0% 0.184 339.0);
Tailwind
colors: {
  custom: {
    50: '#da86c1',
    500: '#c64da7',
    950: '#000000',
  },
}
SCSS
$custom: #c64da7;
$custom-light: #da86c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c64da7",
  "rgb": {
    "r": 198,
    "g": 77,
    "b": 167
  },
  "hsl": {
    "h": 315.372,
    "s": 51.489,
    "l": 53.922
  },
  "oklch": {
    "l": 0.6099,
    "c": 0.18418,
    "h": 339
  },
  "luminance": 0.20104
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C64DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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