#C64FA2#C64FA2

#C64FA2 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.0% C 0.178 H 341.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C64FA2
RGBrgb(198, 79, 162)
HSLhsl(318, 51%, 54%)
HSVhsv(318, 60%, 78%)
CMYKcmyk(0%, 60.1%, 18.2%, 22.4%)
CIE-LABlab(52.07, 56.60, -21.39)
CIE-LCHlch(52.07, 60.51, 339.30°)
OKLaboklab(61.01% 0.1683 -0.0573)
OKLCHoklch(61.01% 0.178 341.2)
XYZxyz(32.6070, 20.2092, 36.3589)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64FA2 #4FC673
analogous
#AE4FC6 #C64FA2 #C64F67
triadic
#C64FA2 #A2C64F #4FA2C6
tetradic
#C64FA2 #C6AE4F #4FC673 #4F67C6
square
#C64FA2 #C6AE4F #4FC673 #4F67C6
split-complementary
#C64FA2 #67C64F #4FC6AE
monochromatic
#75265D #A33582 #C64FA2 #D57DBA #E4ABD3

Accessibility & contrast

On white

4.17
#C64FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#C64FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64FA2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64FA2#FFFFFF#000000##000000
##C64FA21.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5770A5
Deuteranopia (green-blind)
#79839F
Tritanopia (blue-blind)
#D15171
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c64fa2;
/* rgb */ color: rgb(198, 79, 162);
/* oklch */ color: oklch(61.0% 0.178 341.2);
Tailwind
colors: {
  custom: {
    50: '#da87bd',
    500: '#c64fa2',
    950: '#000000',
  },
}
SCSS
$custom: #c64fa2;
$custom-light: #da87bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c64fa2",
  "rgb": {
    "r": 198,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 318.151,
    "s": 51.073,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61009,
    "c": 0.1778,
    "h": 341.2
  },
  "luminance": 0.20206
}

Semantic roles & 50–950 ramp

primary
#C64FA2
secondary
#9FD2AE
accent
#DB784D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C64FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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