#C64797#C64797

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

Color values

HEX#C64797
RGBrgb(198, 71, 151)
HSLhsl(322, 53%, 53%)
HSVhsv(322, 64%, 78%)
CMYKcmyk(0%, 64.1%, 23.7%, 22.4%)
CIE-LABlab(50.39, 58.47, -17.46)
CIE-LCHlch(50.39, 61.02, 343.38°)
OKLaboklab(59.63% 0.1762 -0.0463)
OKLCHoklch(59.63% 0.182 345.3)
XYZxyz(31.1290, 18.7497, 31.2518)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64797 #47C676
analogous
#B647C6 #C64797 #C64757
triadic
#C64797 #97C647 #4797C6
tetradic
#C64797 #C6B647 #47C676 #4757C6
square
#C64797 #C6B647 #47C676 #4757C6
split-complementary
#C64797 #57C647 #47C6B6
monochromatic
#702353 #9F3176 #C64797 #D476B1 #E3A4CC

Accessibility & contrast

On white

4.42
#C64797 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#C64797 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64797
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64797#FFFFFF#000000##000000
##C647971.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#546A99
Deuteranopia (green-blind)
#798094
Tritanopia (blue-blind)
#D34569
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c64797;
/* rgb */ color: rgb(198, 71, 151);
/* oklch */ color: oklch(59.6% 0.182 345.3);
Tailwind
colors: {
  custom: {
    50: '#db82b5',
    500: '#c64797',
    950: '#000000',
  },
}
SCSS
$custom: #c64797;
$custom-light: #db82b5;
$custom-dark: #000000;
JSON
{
  "hex": "#c64797",
  "rgb": {
    "r": 198,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 322.205,
    "s": 52.697,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59632,
    "c": 0.18218,
    "h": 345.3
  },
  "luminance": 0.18747
}

Semantic roles & 50–950 ramp

primary
#C64797
secondary
#99D0AD
accent
#DC814C
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B11
muted
#837C80

Preview Lab

Preview with #C64797

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

Preview Lab → · Contrast checker → · Palette generator →

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