#C64AA1#C64AA1

#C64AA1 is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.4% C 0.184 H 341.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C64AA1
RGBrgb(198, 74, 161)
HSLhsl(318, 52%, 53%)
HSVhsv(318, 63%, 78%)
CMYKcmyk(0%, 62.6%, 18.7%, 22.4%)
CIE-LABlab(51.24, 58.61, -22.07)
CIE-LCHlch(51.24, 62.63, 339.36°)
OKLaboklab(60.39% 0.1746 -0.0592)
OKLCHoklch(60.39% 0.184 341.3)
XYZxyz(32.1713, 19.4794, 35.7769)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64AA1 #4AC66F
analogous
#AD4AC6 #C64AA1 #C64A63
triadic
#C64AA1 #A1C64A #4AA1C6
tetradic
#C64AA1 #C6AD4A #4AC66F #4A63C6
square
#C64AA1 #C6AD4A #4AC66F #4A63C6
split-complementary
#C64AA1 #63C64A #4AC6AD
monochromatic
#72245B #A03280 #C64AA1 #D579B9 #E3A7D1

Accessibility & contrast

On white

4.29
#C64AA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#C64AA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64AA1
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64AA1#FFFFFF#000000##000000
##C64AA11.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#526DA4
Deuteranopia (green-blind)
#77819E
Tritanopia (blue-blind)
#D14C6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c64aa1;
/* rgb */ color: rgb(198, 74, 161);
/* oklch */ color: oklch(60.4% 0.184 341.3);
Tailwind
colors: {
  custom: {
    50: '#db84bd',
    500: '#c64aa1',
    950: '#000000',
  },
}
SCSS
$custom: #c64aa1;
$custom-light: #db84bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c64aa1",
  "rgb": {
    "r": 198,
    "g": 74,
    "b": 161
  },
  "hsl": {
    "h": 317.903,
    "s": 52.101,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60386,
    "c": 0.18434,
    "h": 341.3
  },
  "luminance": 0.19477
}

Semantic roles & 50–950 ramp

primary
#C64AA1
secondary
#9BD1AB
accent
#DC774C
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C64AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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