#C64FAC#C64FAC

#C64FAC is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.4% C 0.185 H 337.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#C64FAC
RGBrgb(198, 79, 172)
HSLhsl(313, 51%, 54%)
HSVhsv(313, 60%, 78%)
CMYKcmyk(0%, 60.1%, 13.1%, 22.4%)
CIE-LABlab(52.49, 58.10, -26.61)
CIE-LCHlch(52.49, 63.91, 335.39°)
OKLaboklab(61.45% 0.1703 -0.072)
OKLCHoklch(61.45% 0.185 337.1)
XYZxyz(33.5315, 20.5790, 41.2278)
Luminance0.2058 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64FAC #4FC669
analogous
#A54FC6 #C64FAC #C64F71
triadic
#C64FAC #ACC64F #4FACC6
tetradic
#C64FAC #C6A54F #4FC669 #4F71C6
square
#C64FAC #C6A54F #4FC669 #4F71C6
split-complementary
#C64FAC #71C64F #4FC6A5
monochromatic
#752664 #A3358B #C64FAC #D57DC2 #E4ABD8

Accessibility & contrast

On white

4.11
#C64FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#C64FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64FAC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64FAC#FFFFFF#000000##000000
##C64FAC1.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5272AF
Deuteranopia (green-blind)
#7684A9
Tritanopia (blue-blind)
#D05476
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c64fac;
/* rgb */ color: rgb(198, 79, 172);
/* oklch */ color: oklch(61.4% 0.185 337.1);
Tailwind
colors: {
  custom: {
    50: '#da87c5',
    500: '#c64fac',
    950: '#000000',
  },
}
SCSS
$custom: #c64fac;
$custom-light: #da87c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c64fac",
  "rgb": {
    "r": 198,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 313.109,
    "s": 51.073,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61447,
    "c": 0.18487,
    "h": 337.1
  },
  "luminance": 0.20576
}

Semantic roles & 50–950 ramp

primary
#C64FAC
secondary
#9FD2AA
accent
#DB6C4D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C64FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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