#C64796#C64796

#C64796 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.6% C 0.182 H 345.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C64796
RGBrgb(198, 71, 150)
HSLhsl(323, 53%, 53%)
HSVhsv(323, 64%, 78%)
CMYKcmyk(0%, 64.1%, 24.2%, 22.4%)
CIE-LABlab(50.35, 58.34, -16.92)
CIE-LCHlch(50.35, 60.74, 343.83°)
OKLaboklab(59.59% 0.176 -0.0448)
OKLCHoklch(59.59% 0.182 345.7)
XYZxyz(31.0481, 18.7173, 30.8259)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64796 #47C677
analogous
#B647C6 #C64796 #C64757
triadic
#C64796 #96C647 #4796C6
tetradic
#C64796 #C6B647 #47C677 #4757C6
square
#C64796 #C6B647 #47C677 #4757C6
split-complementary
#C64796 #57C647 #47C6B6
monochromatic
#702353 #9F3175 #C64796 #D476B1 #E3A4CB

Accessibility & contrast

On white

4.43
#C64796 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#C64796 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64796
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64796#FFFFFF#000000##000000
##C647961.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#556A98
Deuteranopia (green-blind)
#798093
Tritanopia (blue-blind)
#D34568
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c64796;
/* rgb */ color: rgb(198, 71, 150);
/* oklch */ color: oklch(59.6% 0.182 345.7);
Tailwind
colors: {
  custom: {
    50: '#db82b5',
    500: '#c64796',
    950: '#000000',
  },
}
SCSS
$custom: #c64796;
$custom-light: #db82b5;
$custom-dark: #000000;
JSON
{
  "hex": "#c64796",
  "rgb": {
    "r": 198,
    "g": 71,
    "b": 150
  },
  "hsl": {
    "h": 322.677,
    "s": 52.697,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59591,
    "c": 0.18158,
    "h": 345.7
  },
  "luminance": 0.18714
}

Semantic roles & 50–950 ramp

primary
#C64796
secondary
#99D0AE
accent
#DC824C
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B11
muted
#837C80

Preview Lab

Preview with #C64796

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

Preview Lab → · Contrast checker → · Palette generator →

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