#CA64B1#CA64B1

#CA64B1 is a light, vivid pink. Relative luminance 0.248; OKLCH L 64.9% C 0.159 H 337.4°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#CA64B1
RGBrgb(202, 100, 177)
HSLhsl(315, 49%, 59%)
HSVhsv(315, 50%, 79%)
CMYKcmyk(0%, 50.5%, 12.4%, 20.8%)
CIE-LABlab(56.93, 50.25, -22.62)
CIE-LCHlch(56.93, 55.11, 335.76°)
OKLaboklab(64.91% 0.1467 -0.0609)
OKLCHoklch(64.91% 0.159 337.4)
XYZxyz(36.8504, 24.8478, 44.4417)
Luminance0.2485 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA64B1 #64CA7D
analogous
#B064CA #CA64B1 #CA647E
triadic
#CA64B1 #B1CA64 #64B1CA
tetradic
#CA64B1 #CAB064 #64CA7D #647ECA
square
#CA64B1 #CAB064 #64CA7D #647ECA
split-complementary
#CA64B1 #7ECA64 #64CAB0
monochromatic
#862E70 #B33D97 #CA64B1 #DA92C8 #E9BFDF

Accessibility & contrast

On white

3.52
#CA64B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#CA64B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA64B1
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA64B1#FFFFFF#000000##000000
##CA64B11.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#667FB4
Deuteranopia (green-blind)
#838EAE
Tritanopia (blue-blind)
#D36882
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ca64b1;
/* rgb */ color: rgb(202, 100, 177);
/* oklch */ color: oklch(64.9% 0.159 337.4);
Tailwind
colors: {
  custom: {
    50: '#dc94c8',
    500: '#ca64b1',
    950: '#000000',
  },
}
SCSS
$custom: #ca64b1;
$custom-light: #dc94c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca64b1",
  "rgb": {
    "r": 202,
    "g": 100,
    "b": 177
  },
  "hsl": {
    "h": 314.706,
    "s": 49.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64912,
    "c": 0.15886,
    "h": 337.4
  },
  "luminance": 0.24845
}

Semantic roles & 50–950 ramp

primary
#CA64B1
secondary
#B1D9BB
accent
#D9714F
background
#FDF9FC
surface
#FBF2F8
border
#D4CCD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #CA64B1

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

Preview Lab → · Contrast checker → · Palette generator →

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