#CA64B2#CA64B2

#CA64B2 is a light, vivid pink. Relative luminance 0.249; OKLCH L 65.0% C 0.160 H 337.0°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#CA64B2
RGBrgb(202, 100, 178)
HSLhsl(314, 49%, 59%)
HSVhsv(314, 50%, 79%)
CMYKcmyk(0%, 50.5%, 11.9%, 20.8%)
CIE-LABlab(56.97, 50.41, -23.14)
CIE-LCHlch(56.97, 55.47, 335.35°)
OKLaboklab(64.95% 0.1469 -0.0624)
OKLCHoklch(64.95% 0.16 337)
XYZxyz(36.9504, 24.8878, 44.9685)
Luminance0.2488 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA64B2 #64CA7C
analogous
#AF64CA #CA64B2 #CA647F
triadic
#CA64B2 #B2CA64 #64B2CA
tetradic
#CA64B2 #CAAF64 #64CA7C #647FCA
square
#CA64B2 #CAAF64 #64CA7C #647FCA
split-complementary
#CA64B2 #7FCA64 #64CAAF
monochromatic
#862E71 #B33D98 #CA64B2 #DA92C9 #E9BFDF

Accessibility & contrast

On white

3.51
#CA64B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#CA64B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA64B2
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA64B2#FFFFFF#000000##000000
##CA64B21.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#667FB5
Deuteranopia (green-blind)
#838EAF
Tritanopia (blue-blind)
#D36883
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ca64b2;
/* rgb */ color: rgb(202, 100, 178);
/* oklch */ color: oklch(65.0% 0.160 337.0);
Tailwind
colors: {
  custom: {
    50: '#dc94c9',
    500: '#ca64b2',
    950: '#000000',
  },
}
SCSS
$custom: #ca64b2;
$custom-light: #dc94c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca64b2",
  "rgb": {
    "r": 202,
    "g": 100,
    "b": 178
  },
  "hsl": {
    "h": 314.118,
    "s": 49.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64954,
    "c": 0.15963,
    "h": 337
  },
  "luminance": 0.24885
}

Semantic roles & 50–950 ramp

primary
#CA64B2
secondary
#B1D9BA
accent
#D9704F
background
#FDF9FC
surface
#FBF2F8
border
#D4CCD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #CA64B2

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

Preview Lab → · Contrast checker → · Palette generator →

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