#C64BA2#C64BA2

#C64BA2 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.5% C 0.184 H 340.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#C64BA2
RGBrgb(198, 75, 162)
HSLhsl(318, 52%, 54%)
HSVhsv(318, 62%, 78%)
CMYKcmyk(0%, 62.1%, 18.2%, 22.4%)
CIE-LABlab(51.44, 58.33, -22.36)
CIE-LCHlch(51.44, 62.47, 339.03°)
OKLaboklab(60.54% 0.1735 -0.06)
OKLCHoklch(60.54% 0.184 340.9)
XYZxyz(32.3271, 19.6494, 36.2656)
Luminance0.1965 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64BA2 #4BC66F
analogous
#AC4BC6 #C64BA2 #C64B64
triadic
#C64BA2 #A2C64B #4BA2C6
tetradic
#C64BA2 #C6AC4B #4BC66F #4B64C6
square
#C64BA2 #C6AC4B #4BC66F #4B64C6
split-complementary
#C64BA2 #64C64B #4BC6AC
monochromatic
#72245C #A13381 #C64BA2 #D579BA #E3A8D2

Accessibility & contrast

On white

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

On black

4.93
#C64BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64BA2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64BA2#FFFFFF#000000##000000
##C64BA21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#536EA5
Deuteranopia (green-blind)
#77829F
Tritanopia (blue-blind)
#D14D70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c64ba2;
/* rgb */ color: rgb(198, 75, 162);
/* oklch */ color: oklch(60.5% 0.184 340.9);
Tailwind
colors: {
  custom: {
    50: '#da85bd',
    500: '#c64ba2',
    950: '#000000',
  },
}
SCSS
$custom: #c64ba2;
$custom-light: #da85bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c64ba2",
  "rgb": {
    "r": 198,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 317.561,
    "s": 51.899,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60542,
    "c": 0.18359,
    "h": 340.9
  },
  "luminance": 0.19647
}

Semantic roles & 50–950 ramp

primary
#C64BA2
secondary
#9CD1AB
accent
#DB764C
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C64BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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