#C64AA2#C64AA2

#C64AA2 is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.4% C 0.185 H 340.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C64AA2
RGBrgb(198, 74, 162)
HSLhsl(317, 52%, 53%)
HSVhsv(317, 63%, 78%)
CMYKcmyk(0%, 62.6%, 18.2%, 22.4%)
CIE-LABlab(51.28, 58.76, -22.60)
CIE-LCHlch(51.28, 62.95, 338.96°)
OKLaboklab(60.43% 0.1748 -0.0607)
OKLCHoklch(60.43% 0.185 340.9)
XYZxyz(32.2598, 19.5148, 36.2431)
Luminance0.1951 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64AA2 #4AC66E
analogous
#AC4AC6 #C64AA2 #C64A64
triadic
#C64AA2 #A2C64A #4AA2C6
tetradic
#C64AA2 #C6AC4A #4AC66E #4A64C6
square
#C64AA2 #C6AC4A #4AC66E #4A64C6
split-complementary
#C64AA2 #64C64A #4AC6AC
monochromatic
#72245B #A03280 #C64AA2 #D579BA #E3A7D2

Accessibility & contrast

On white

4.28
#C64AA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#C64AA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64AA2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64AA2#FFFFFF#000000##000000
##C64AA21.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#526DA5
Deuteranopia (green-blind)
#77819F
Tritanopia (blue-blind)
#D14C6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c64aa2;
/* rgb */ color: rgb(198, 74, 162);
/* oklch */ color: oklch(60.4% 0.185 340.9);
Tailwind
colors: {
  custom: {
    50: '#db84bd',
    500: '#c64aa2',
    950: '#000000',
  },
}
SCSS
$custom: #c64aa2;
$custom-light: #db84bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c64aa2",
  "rgb": {
    "r": 198,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 317.419,
    "s": 52.101,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60429,
    "c": 0.18502,
    "h": 340.9
  },
  "luminance": 0.19512
}

Semantic roles & 50–950 ramp

primary
#C64AA2
secondary
#9BD1AB
accent
#DC764C
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C64AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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