#C64CA1#C64CA1

#C64CA1 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.6% C 0.181 H 341.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#C64CA1
RGBrgb(198, 76, 161)
HSLhsl(318, 52%, 54%)
HSVhsv(318, 62%, 78%)
CMYKcmyk(0%, 61.6%, 18.7%, 22.4%)
CIE-LABlab(51.55, 57.76, -21.60)
CIE-LCHlch(51.55, 61.67, 339.50°)
OKLaboklab(60.61% 0.172 -0.0579)
OKLCHoklch(60.61% 0.181 341.4)
XYZxyz(32.3070, 19.7507, 35.8221)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64CA1 #4CC671
analogous
#AE4CC6 #C64CA1 #C64C64
triadic
#C64CA1 #A1C64C #4CA1C6
tetradic
#C64CA1 #C6AE4C #4CC671 #4C64C6
square
#C64CA1 #C6AE4C #4CC671 #4C64C6
split-complementary
#C64CA1 #64C64C #4CC6AE
monochromatic
#73255B #A13380 #C64CA1 #D57AB9 #E4A9D2

Accessibility & contrast

On white

4.24
#C64CA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#C64CA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64CA1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64CA1#FFFFFF#000000##000000
##C64CA11.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#546EA4
Deuteranopia (green-blind)
#78829E
Tritanopia (blue-blind)
#D14E70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c64ca1;
/* rgb */ color: rgb(198, 76, 161);
/* oklch */ color: oklch(60.6% 0.181 341.4);
Tailwind
colors: {
  custom: {
    50: '#da85bd',
    500: '#c64ca1',
    950: '#000000',
  },
}
SCSS
$custom: #c64ca1;
$custom-light: #da85bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c64ca1",
  "rgb": {
    "r": 198,
    "g": 76,
    "b": 161
  },
  "hsl": {
    "h": 318.197,
    "s": 51.695,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60614,
    "c": 0.18149,
    "h": 341.4
  },
  "luminance": 0.19748
}

Semantic roles & 50–950 ramp

primary
#C64CA1
secondary
#9DD1AD
accent
#DB784D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C64CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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