#C64DB1#C64DB1

#C64DB1 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.4% C 0.191 H 335.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#C64DB1
RGBrgb(198, 77, 177)
HSLhsl(310, 51%, 54%)
HSVhsv(310, 61%, 78%)
CMYKcmyk(0%, 61.1%, 10.6%, 22.4%)
CIE-LABlab(52.39, 59.74, -29.68)
CIE-LCHlch(52.39, 66.71, 333.58°)
OKLaboklab(61.45% 0.1736 -0.0807)
OKLCHoklch(61.45% 0.191 335.1)
XYZxyz(33.8787, 20.4905, 43.7572)
Luminance0.2049 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64DB1 #4DC662
analogous
#9F4DC6 #C64DB1 #C64D75
triadic
#C64DB1 #B1C64D #4DB1C6
tetradic
#C64DB1 #C69F4D #4DC662 #4D75C6
square
#C64DB1 #C69F4D #4DC662 #4D75C6
split-complementary
#C64DB1 #75C64D #4DC69F
monochromatic
#742566 #A2348F #C64DB1 #D57BC5 #E4AADA

Accessibility & contrast

On white

4.12
#C64DB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#C64DB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64DB1
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64DB1#FFFFFF#000000##000000
##C64DB11.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D71B4
Deuteranopia (green-blind)
#7384AE
Tritanopia (blue-blind)
#CF5478
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c64db1;
/* rgb */ color: rgb(198, 77, 177);
/* oklch */ color: oklch(61.4% 0.191 335.1);
Tailwind
colors: {
  custom: {
    50: '#da86c8',
    500: '#c64db1',
    950: '#000000',
  },
}
SCSS
$custom: #c64db1;
$custom-light: #da86c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c64db1",
  "rgb": {
    "r": 198,
    "g": 77,
    "b": 177
  },
  "hsl": {
    "h": 310.413,
    "s": 51.489,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61446,
    "c": 0.19148,
    "h": 335.1
  },
  "luminance": 0.20488
}

Semantic roles & 50–950 ramp

primary
#C64DB1
secondary
#9ED1A7
accent
#DB664D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C64DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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