#C64FA8#C64FA8

#C64FA8 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.3% C 0.182 H 338.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C64FA8
RGBrgb(198, 79, 168)
HSLhsl(315, 51%, 54%)
HSVhsv(315, 60%, 78%)
CMYKcmyk(0%, 60.1%, 15.2%, 22.4%)
CIE-LABlab(52.32, 57.49, -24.53)
CIE-LCHlch(52.32, 62.51, 336.89°)
OKLaboklab(61.27% 0.1695 -0.0662)
OKLCHoklch(61.27% 0.182 338.7)
XYZxyz(33.1531, 20.4276, 39.2350)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64FA8 #4FC66D
analogous
#A94FC6 #C64FA8 #C64F6D
triadic
#C64FA8 #A8C64F #4FA8C6
tetradic
#C64FA8 #C6A94F #4FC66D #4F6DC6
square
#C64FA8 #C6A94F #4FC66D #4F6DC6
split-complementary
#C64FA8 #6DC64F #4FC6A9
monochromatic
#752661 #A33587 #C64FA8 #D57DBF #E4ABD6

Accessibility & contrast

On white

4.13
#C64FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#C64FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64FA8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64FA8#FFFFFF#000000##000000
##C64FA81.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5471AB
Deuteranopia (green-blind)
#7784A5
Tritanopia (blue-blind)
#D05374
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c64fa8;
/* rgb */ color: rgb(198, 79, 168);
/* oklch */ color: oklch(61.3% 0.182 338.7);
Tailwind
colors: {
  custom: {
    50: '#da87c2',
    500: '#c64fa8',
    950: '#000000',
  },
}
SCSS
$custom: #c64fa8;
$custom-light: #da87c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c64fa8",
  "rgb": {
    "r": 198,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 315.126,
    "s": 51.073,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61269,
    "c": 0.18197,
    "h": 338.7
  },
  "luminance": 0.20425
}

Semantic roles & 50–950 ramp

primary
#C64FA8
secondary
#9FD2AC
accent
#DB714D
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C64FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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