#C64EA9#C64EA9

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

Color values

HEX#C64EA9
RGBrgb(198, 78, 169)
HSLhsl(315, 51%, 54%)
HSVhsv(315, 61%, 78%)
CMYKcmyk(0%, 60.6%, 14.6%, 22.4%)
CIE-LABlab(52.20, 58.08, -25.30)
CIE-LCHlch(52.20, 63.35, 336.46°)
OKLaboklab(61.2% 0.171 -0.0683)
OKLCHoklch(61.2% 0.184 338.2)
XYZxyz(33.1750, 20.3219, 39.7037)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64EA9 #4EC66B
analogous
#A74EC6 #C64EA9 #C64E6D
triadic
#C64EA9 #A9C64E #4EA9C6
tetradic
#C64EA9 #C6A74E #4EC66B #4E6DC6
square
#C64EA9 #C6A74E #4EC66B #4E6DC6
split-complementary
#C64EA9 #6DC64E #4EC6A7
monochromatic
#742561 #A23488 #C64EA9 #D57CBF #E4ABD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C64EA9#FFFFFF#000000##000000
##C64EA91.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)
#5271AC
Deuteranopia (green-blind)
#7683A6
Tritanopia (blue-blind)
#D05274
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c64ea9;
/* rgb */ color: rgb(198, 78, 169);
/* oklch */ color: oklch(61.2% 0.184 338.2);
Tailwind
colors: {
  custom: {
    50: '#da86c2',
    500: '#c64ea9',
    950: '#000000',
  },
}
SCSS
$custom: #c64ea9;
$custom-light: #da86c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c64ea9",
  "rgb": {
    "r": 198,
    "g": 78,
    "b": 169
  },
  "hsl": {
    "h": 314.5,
    "s": 51.282,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61196,
    "c": 0.18415,
    "h": 338.2
  },
  "luminance": 0.20319
}

Semantic roles & 50–950 ramp

primary
#C64EA9
secondary
#9ED1AB
accent
#DB6F4D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #C64EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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