#C64FAF#C64FAF

#C64FAF is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.6% C 0.187 H 335.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#C64FAF
RGBrgb(198, 79, 175)
HSLhsl(312, 51%, 54%)
HSVhsv(312, 60%, 78%)
CMYKcmyk(0%, 60.1%, 11.6%, 22.4%)
CIE-LABlab(52.61, 58.57, -28.16)
CIE-LCHlch(52.61, 64.99, 334.32°)
OKLaboklab(61.58% 0.1708 -0.0764)
OKLCHoklch(61.58% 0.187 335.9)
XYZxyz(33.8229, 20.6955, 42.7624)
Luminance0.2069 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64FAF #4FC666
analogous
#A24FC6 #C64FAF #C64F74
triadic
#C64FAF #AFC64F #4FAFC6
tetradic
#C64FAF #C6A24F #4FC666 #4F74C6
square
#C64FAF #C6A24F #4FC666 #4F74C6
split-complementary
#C64FAF #74C64F #4FC6A2
monochromatic
#752666 #A3358E #C64FAF #D57DC4 #E4ABD9

Accessibility & contrast

On white

4.09
#C64FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#C64FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64FAF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64FAF#FFFFFF#000000##000000
##C64FAF1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5072B2
Deuteranopia (green-blind)
#7584AC
Tritanopia (blue-blind)
#CF5578
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c64faf;
/* rgb */ color: rgb(198, 79, 175);
/* oklch */ color: oklch(61.6% 0.187 335.9);
Tailwind
colors: {
  custom: {
    50: '#da87c7',
    500: '#c64faf',
    950: '#000000',
  },
}
SCSS
$custom: #c64faf;
$custom-light: #da87c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c64faf",
  "rgb": {
    "r": 198,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 311.597,
    "s": 51.073,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61584,
    "c": 0.18709,
    "h": 335.9
  },
  "luminance": 0.20693
}

Semantic roles & 50–950 ramp

primary
#C64FAF
secondary
#9FD2A9
accent
#DB694D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C64FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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