#C64CA3#C64CA3

#C64CA3 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.7% C 0.183 H 340.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C64CA3
RGBrgb(198, 76, 163)
HSLhsl(317, 52%, 54%)
HSVhsv(317, 62%, 78%)
CMYKcmyk(0%, 61.6%, 17.7%, 22.4%)
CIE-LABlab(51.64, 58.05, -22.65)
CIE-LCHlch(51.64, 62.31, 338.69°)
OKLaboklab(60.7% 0.1724 -0.0608)
OKLCHoklch(60.7% 0.183 340.6)
XYZxyz(32.4847, 19.8218, 36.7584)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64CA3 #4CC66F
analogous
#AC4CC6 #C64CA3 #C64C66
triadic
#C64CA3 #A3C64C #4CA3C6
tetradic
#C64CA3 #C6AC4C #4CC66F #4C66C6
square
#C64CA3 #C6AC4C #4CC66F #4C66C6
split-complementary
#C64CA3 #66C64C #4CC6AC
monochromatic
#73255D #A13382 #C64CA3 #D57ABB #E4A9D3

Accessibility & contrast

On white

4.23
#C64CA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#C64CA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64CA3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64CA3#FFFFFF#000000##000000
##C64CA31.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#536FA6
Deuteranopia (green-blind)
#7782A0
Tritanopia (blue-blind)
#D14E71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c64ca3;
/* rgb */ color: rgb(198, 76, 163);
/* oklch */ color: oklch(60.7% 0.183 340.6);
Tailwind
colors: {
  custom: {
    50: '#da85be',
    500: '#c64ca3',
    950: '#000000',
  },
}
SCSS
$custom: #c64ca3;
$custom-light: #da85be;
$custom-dark: #000000;
JSON
{
  "hex": "#c64ca3",
  "rgb": {
    "r": 198,
    "g": 76,
    "b": 163
  },
  "hsl": {
    "h": 317.213,
    "s": 51.695,
    "l": 53.725
  },
  "oklch": {
    "l": 0.607,
    "c": 0.18284,
    "h": 340.6
  },
  "luminance": 0.19819
}

Semantic roles & 50–950 ramp

primary
#C64CA3
secondary
#9DD1AC
accent
#DB764D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C64CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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