#C64EA1#C64EA1

#C64EA1 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.8% C 0.179 H 341.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#C64EA1
RGBrgb(198, 78, 161)
HSLhsl(319, 51%, 54%)
HSVhsv(319, 61%, 78%)
CMYKcmyk(0%, 60.6%, 18.7%, 22.4%)
CIE-LABlab(51.87, 56.90, -21.11)
CIE-LCHlch(51.87, 60.69, 339.65°)
OKLaboklab(60.85% 0.1694 -0.0565)
OKLCHoklch(60.85% 0.179 341.5)
XYZxyz(32.4469, 20.0306, 35.8687)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64EA1 #4EC673
analogous
#AF4EC6 #C64EA1 #C64E65
triadic
#C64EA1 #A1C64E #4EA1C6
tetradic
#C64EA1 #C6AF4E #4EC673 #4E65C6
square
#C64EA1 #C6AF4E #4EC673 #4E65C6
split-complementary
#C64EA1 #65C64E #4EC6AF
monochromatic
#74255C #A23481 #C64EA1 #D57CBA #E4ABD2

Accessibility & contrast

On white

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

On black

5.01
#C64EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64EA1
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64EA1#FFFFFF#000000##000000
##C64EA11.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#566FA4
Deuteranopia (green-blind)
#79839E
Tritanopia (blue-blind)
#D15071
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c64ea1;
/* rgb */ color: rgb(198, 78, 161);
/* oklch */ color: oklch(60.8% 0.179 341.5);
Tailwind
colors: {
  custom: {
    50: '#da86bd',
    500: '#c64ea1',
    950: '#000000',
  },
}
SCSS
$custom: #c64ea1;
$custom-light: #da86bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c64ea1",
  "rgb": {
    "r": 198,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 318.5,
    "s": 51.282,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60848,
    "c": 0.17859,
    "h": 341.5
  },
  "luminance": 0.20028
}

Semantic roles & 50–950 ramp

primary
#C64EA1
secondary
#9ED1AE
accent
#DB794D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C64EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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