#C64CB0#C64CB0

#C64CB0 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.3% C 0.192 H 335.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C64CB0
RGBrgb(198, 76, 176)
HSLhsl(311, 52%, 54%)
HSVhsv(311, 62%, 78%)
CMYKcmyk(0%, 61.6%, 11.1%, 22.4%)
CIE-LABlab(52.19, 60.01, -29.41)
CIE-LCHlch(52.19, 66.83, 333.89°)
OKLaboklab(61.29% 0.1747 -0.08)
OKLCHoklch(61.29% 0.192 335.4)
XYZxyz(33.7099, 20.3119, 43.2110)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64CB0 #4CC662
analogous
#9F4CC6 #C64CB0 #C64C73
triadic
#C64CB0 #B0C64C #4CB0C6
tetradic
#C64CB0 #C69F4C #4CC662 #4C73C6
square
#C64CB0 #C69F4C #4CC662 #4C73C6
split-complementary
#C64CB0 #73C64C #4CC69F
monochromatic
#732565 #A1338E #C64CB0 #D57AC4 #E4A9D9

Accessibility & contrast

On white

4.15
#C64CB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#C64CB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64CB0
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64CB0#FFFFFF#000000##000000
##C64CB01.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c64cb0;
/* rgb */ color: rgb(198, 76, 176);
/* oklch */ color: oklch(61.3% 0.192 335.4);
Tailwind
colors: {
  custom: {
    50: '#da85c8',
    500: '#c64cb0',
    950: '#000000',
  },
}
SCSS
$custom: #c64cb0;
$custom-light: #da85c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c64cb0",
  "rgb": {
    "r": 198,
    "g": 76,
    "b": 176
  },
  "hsl": {
    "h": 310.82,
    "s": 51.695,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61286,
    "c": 0.19215,
    "h": 335.4
  },
  "luminance": 0.20309
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C64CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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