#C64AAF#C64AAF

#C64AAF is a mid, vivid pink. Relative luminance 0.200; OKLCH L 61.0% C 0.194 H 335.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#C64AAF
RGBrgb(198, 74, 175)
HSLhsl(311, 52%, 53%)
HSVhsv(311, 63%, 78%)
CMYKcmyk(0%, 62.6%, 11.6%, 22.4%)
CIE-LABlab(51.84, 60.69, -29.37)
CIE-LCHlch(51.84, 67.43, 334.18°)
OKLaboklab(61.02% 0.177 -0.0798)
OKLCHoklch(61.02% 0.194 335.7)
XYZxyz(33.4757, 20.0012, 42.6466)
Luminance0.2000 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64AAF #4AC661
analogous
#9F4AC6 #C64AAF #C64A71
triadic
#C64AAF #AFC64A #4AAFC6
tetradic
#C64AAF #C69F4A #4AC661 #4A71C6
square
#C64AAF #C69F4A #4AC661 #4A71C6
split-complementary
#C64AAF #71C64A #4AC69F
monochromatic
#722463 #A0328C #C64AAF #D579C4 #E3A7D8

Accessibility & contrast

On white

4.20
#C64AAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#C64AAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64AAF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64AAF#FFFFFF#000000##000000
##C64AAF1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B70B2
Deuteranopia (green-blind)
#7282AC
Tritanopia (blue-blind)
#CF5176
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c64aaf;
/* rgb */ color: rgb(198, 74, 175);
/* oklch */ color: oklch(61.0% 0.194 335.7);
Tailwind
colors: {
  custom: {
    50: '#da84c7',
    500: '#c64aaf',
    950: '#000000',
  },
}
SCSS
$custom: #c64aaf;
$custom-light: #da84c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c64aaf",
  "rgb": {
    "r": 198,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 311.129,
    "s": 52.101,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61016,
    "c": 0.19421,
    "h": 335.7
  },
  "luminance": 0.19998
}

Semantic roles & 50–950 ramp

primary
#C64AAF
secondary
#9BD1A5
accent
#DC674C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C64AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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