#C64AA8#C64AA8

#C64AA8 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.7% C 0.189 H 338.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#C64AA8
RGBrgb(198, 74, 168)
HSLhsl(315, 52%, 53%)
HSVhsv(315, 63%, 78%)
CMYKcmyk(0%, 62.6%, 15.2%, 22.4%)
CIE-LABlab(51.53, 59.64, -25.74)
CIE-LCHlch(51.53, 64.95, 336.65°)
OKLaboklab(60.69% 0.1759 -0.0695)
OKLCHoklch(60.69% 0.189 338.4)
XYZxyz(32.8059, 19.7333, 39.1193)
Luminance0.1973 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64AA8 #4AC668
analogous
#A64AC6 #C64AA8 #C64A6A
triadic
#C64AA8 #A8C64A #4AA8C6
tetradic
#C64AA8 #C6A64A #4AC668 #4A6AC6
square
#C64AA8 #C6A64A #4AC668 #4A6AC6
split-complementary
#C64AA8 #6AC64A #4AC6A6
monochromatic
#72245F #A03286 #C64AA8 #D579BE #E3A7D5

Accessibility & contrast

On white

4.25
#C64AA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#C64AA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64AA8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64AA8#FFFFFF#000000##000000
##C64AA81.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6EAB
Deuteranopia (green-blind)
#7582A5
Tritanopia (blue-blind)
#D04F72
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c64aa8;
/* rgb */ color: rgb(198, 74, 168);
/* oklch */ color: oklch(60.7% 0.189 338.4);
Tailwind
colors: {
  custom: {
    50: '#da84c2',
    500: '#c64aa8',
    950: '#000000',
  },
}
SCSS
$custom: #c64aa8;
$custom-light: #da84c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c64aa8",
  "rgb": {
    "r": 198,
    "g": 74,
    "b": 168
  },
  "hsl": {
    "h": 314.516,
    "s": 52.101,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60694,
    "c": 0.18915,
    "h": 338.4
  },
  "luminance": 0.1973
}

Semantic roles & 50–950 ramp

primary
#C64AA8
secondary
#9BD1A8
accent
#DC6F4C
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C64AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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