#C64FA3#C64FA3

#C64FA3 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.1% C 0.178 H 340.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#C64FA3
RGBrgb(198, 79, 163)
HSLhsl(318, 51%, 54%)
HSVhsv(318, 60%, 78%)
CMYKcmyk(0%, 60.1%, 17.7%, 22.4%)
CIE-LABlab(52.11, 56.75, -21.91)
CIE-LCHlch(52.11, 60.83, 338.89°)
OKLaboklab(61.05% 0.1685 -0.0588)
OKLCHoklch(61.05% 0.178 340.8)
XYZxyz(32.6963, 20.2449, 36.8289)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64FA3 #4FC672
analogous
#AE4FC6 #C64FA3 #C64F68
triadic
#C64FA3 #A3C64F #4FA3C6
tetradic
#C64FA3 #C6AE4F #4FC672 #4F68C6
square
#C64FA3 #C6AE4F #4FC672 #4F68C6
split-complementary
#C64FA3 #68C64F #4FC6AE
monochromatic
#75265E #A33583 #C64FA3 #D57DBB #E4ABD3

Accessibility & contrast

On white

4.16
#C64FA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#C64FA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64FA3
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64FA3#FFFFFF#000000##000000
##C64FA31.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5670A6
Deuteranopia (green-blind)
#7983A0
Tritanopia (blue-blind)
#D15172
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c64fa3;
/* rgb */ color: rgb(198, 79, 163);
/* oklch */ color: oklch(61.1% 0.178 340.8);
Tailwind
colors: {
  custom: {
    50: '#da87be',
    500: '#c64fa3',
    950: '#000000',
  },
}
SCSS
$custom: #c64fa3;
$custom-light: #da87be;
$custom-dark: #000000;
JSON
{
  "hex": "#c64fa3",
  "rgb": {
    "r": 198,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 317.647,
    "s": 51.073,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61051,
    "c": 0.17847,
    "h": 340.8
  },
  "luminance": 0.20242
}

Semantic roles & 50–950 ramp

primary
#C64FA3
secondary
#9FD2AE
accent
#DB774D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C64FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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