#C64798#C64798

#C64798 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.7% C 0.183 H 344.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C64798
RGBrgb(198, 71, 152)
HSLhsl(322, 53%, 53%)
HSVhsv(322, 64%, 78%)
CMYKcmyk(0%, 64.1%, 23.2%, 22.4%)
CIE-LABlab(50.43, 58.61, -17.99)
CIE-LCHlch(50.43, 61.31, 342.93°)
OKLaboklab(59.67% 0.1764 -0.0478)
OKLCHoklch(59.67% 0.183 344.8)
XYZxyz(31.2105, 18.7823, 31.6813)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64798 #47C675
analogous
#B447C6 #C64798 #C64759
triadic
#C64798 #98C647 #4798C6
tetradic
#C64798 #C6B447 #47C675 #4759C6
square
#C64798 #C6B447 #47C675 #4759C6
split-complementary
#C64798 #59C647 #47C6B4
monochromatic
#702354 #9F3177 #C64798 #D476B2 #E3A4CC

Accessibility & contrast

On white

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

On black

4.76
#C64798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64798
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64798#FFFFFF#000000##000000
##C647981.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#546A9A
Deuteranopia (green-blind)
#798095
Tritanopia (blue-blind)
#D34669
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c64798;
/* rgb */ color: rgb(198, 71, 152);
/* oklch */ color: oklch(59.7% 0.183 344.8);
Tailwind
colors: {
  custom: {
    50: '#db82b6',
    500: '#c64798',
    950: '#000000',
  },
}
SCSS
$custom: #c64798;
$custom-light: #db82b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c64798",
  "rgb": {
    "r": 198,
    "g": 71,
    "b": 152
  },
  "hsl": {
    "h": 321.732,
    "s": 52.697,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59672,
    "c": 0.18279,
    "h": 344.8
  },
  "luminance": 0.18779
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C64798

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

Preview Lab → · Contrast checker → · Palette generator →

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