#C64AA5#C64AA5

#C64AA5 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.6% C 0.187 H 339.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C64AA5
RGBrgb(198, 74, 165)
HSLhsl(316, 52%, 53%)
HSVhsv(316, 63%, 78%)
CMYKcmyk(0%, 62.6%, 16.7%, 22.4%)
CIE-LABlab(51.41, 59.19, -24.17)
CIE-LCHlch(51.41, 63.94, 337.78°)
OKLaboklab(60.56% 0.1754 -0.0651)
OKLCHoklch(60.56% 0.187 339.6)
XYZxyz(32.5297, 19.6228, 37.6644)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64AA5 #4AC66B
analogous
#A94AC6 #C64AA5 #C64A67
triadic
#C64AA5 #A5C64A #4AA5C6
tetradic
#C64AA5 #C6A94A #4AC66B #4A67C6
square
#C64AA5 #C6A94A #4AC66B #4A67C6
split-complementary
#C64AA5 #67C64A #4AC6A9
monochromatic
#72245D #A03283 #C64AA5 #D579BC #E3A7D3

Accessibility & contrast

On white

4.26
#C64AA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#C64AA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64AA5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64AA5#FFFFFF#000000##000000
##C64AA51.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#506EA8
Deuteranopia (green-blind)
#7682A2
Tritanopia (blue-blind)
#D14D71
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c64aa5;
/* rgb */ color: rgb(198, 74, 165);
/* oklch */ color: oklch(60.6% 0.187 339.6);
Tailwind
colors: {
  custom: {
    50: '#db84c0',
    500: '#c64aa5',
    950: '#000000',
  },
}
SCSS
$custom: #c64aa5;
$custom-light: #db84c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c64aa5",
  "rgb": {
    "r": 198,
    "g": 74,
    "b": 165
  },
  "hsl": {
    "h": 315.968,
    "s": 52.101,
    "l": 53.333
  },
  "oklch": {
    "l": 0.6056,
    "c": 0.18706,
    "h": 339.6
  },
  "luminance": 0.1962
}

Semantic roles & 50–950 ramp

primary
#C64AA5
secondary
#9BD1A9
accent
#DC724C
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C64AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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