#C64EA5#C64EA5

#C64EA5 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.0% C 0.181 H 339.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C64EA5
RGBrgb(198, 78, 165)
HSLhsl(317, 51%, 54%)
HSVhsv(317, 61%, 78%)
CMYKcmyk(0%, 60.6%, 16.7%, 22.4%)
CIE-LABlab(52.03, 57.48, -23.21)
CIE-LCHlch(52.03, 61.99, 338.01°)
OKLaboklab(61.02% 0.1702 -0.0624)
OKLCHoklch(61.02% 0.181 339.9)
XYZxyz(32.8053, 20.1740, 37.7562)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64EA5 #4EC66F
analogous
#AB4EC6 #C64EA5 #C64E69
triadic
#C64EA5 #A5C64E #4EA5C6
tetradic
#C64EA5 #C6AB4E #4EC66F #4E69C6
square
#C64EA5 #C6AB4E #4EC66F #4E69C6
split-complementary
#C64EA5 #69C64E #4EC6AB
monochromatic
#74255F #A23484 #C64EA5 #D57CBD #E4ABD4

Accessibility & contrast

On white

4.17
#C64EA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#C64EA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64EA5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64EA5#FFFFFF#000000##000000
##C64EA51.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5470A8
Deuteranopia (green-blind)
#7883A2
Tritanopia (blue-blind)
#D15172
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c64ea5;
/* rgb */ color: rgb(198, 78, 165);
/* oklch */ color: oklch(61.0% 0.181 339.9);
Tailwind
colors: {
  custom: {
    50: '#da86c0',
    500: '#c64ea5',
    950: '#000000',
  },
}
SCSS
$custom: #c64ea5;
$custom-light: #da86c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c64ea5",
  "rgb": {
    "r": 198,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 316.5,
    "s": 51.282,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61019,
    "c": 0.18132,
    "h": 339.9
  },
  "luminance": 0.20171
}

Semantic roles & 50–950 ramp

primary
#C64EA5
secondary
#9ED1AC
accent
#DB744D
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C64EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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