#C64EB0#C64EB0

#C64EB0 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.5% C 0.189 H 335.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#C64EB0
RGBrgb(198, 78, 176)
HSLhsl(311, 51%, 54%)
HSVhsv(311, 61%, 78%)
CMYKcmyk(0%, 60.6%, 11.1%, 22.4%)
CIE-LABlab(52.50, 59.16, -28.92)
CIE-LCHlch(52.50, 65.85, 333.94°)
OKLaboklab(61.51% 0.1722 -0.0786)
OKLCHoklch(61.51% 0.189 335.5)
XYZxyz(33.8499, 20.5918, 43.2577)
Luminance0.2059 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64EB0 #4EC664
analogous
#A04EC6 #C64EB0 #C64E74
triadic
#C64EB0 #B0C64E #4EB0C6
tetradic
#C64EB0 #C6A04E #4EC664 #4E74C6
square
#C64EB0 #C6A04E #4EC664 #4E74C6
split-complementary
#C64EB0 #74C64E #4EC6A0
monochromatic
#742566 #A2348E #C64EB0 #D57CC5 #E4ABD9

Accessibility & contrast

On white

4.10
#C64EB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#C64EB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64EB0
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64EB0#FFFFFF#000000##000000
##C64EB01.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F72B3
Deuteranopia (green-blind)
#7484AD
Tritanopia (blue-blind)
#CF5578
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c64eb0;
/* rgb */ color: rgb(198, 78, 176);
/* oklch */ color: oklch(61.5% 0.189 335.5);
Tailwind
colors: {
  custom: {
    50: '#da87c8',
    500: '#c64eb0',
    950: '#000000',
  },
}
SCSS
$custom: #c64eb0;
$custom-light: #da87c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c64eb0",
  "rgb": {
    "r": 198,
    "g": 78,
    "b": 176
  },
  "hsl": {
    "h": 311,
    "s": 51.282,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61514,
    "c": 0.18929,
    "h": 335.5
  },
  "luminance": 0.20589
}

Semantic roles & 50–950 ramp

primary
#C64EB0
secondary
#9ED1A8
accent
#DB674D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C64EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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