#C64198#C64198

#C64198 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 59.0% C 0.191 H 344.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C64198
RGBrgb(198, 65, 152)
HSLhsl(321, 54%, 52%)
HSVhsv(321, 67%, 78%)
CMYKcmyk(0%, 67.2%, 23.2%, 22.4%)
CIE-LABlab(49.56, 61.00, -19.32)
CIE-LCHlch(49.56, 63.99, 342.43°)
OKLaboklab(59.04% 0.1838 -0.0514)
OKLCHoklch(59.04% 0.191 344.4)
XYZxyz(30.8476, 18.0564, 31.5603)
Luminance0.1805 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64198 #41C66F
analogous
#B241C6 #C64198 #C64156
triadic
#C64198 #98C641 #4198C6
tetradic
#C64198 #C6B241 #41C66F #4156C6
square
#C64198 #C6B241 #41C66F #4156C6
split-complementary
#C64198 #56C641 #41C6B2
monochromatic
#6C2052 #9B2F76 #C64198 #D470B2 #E29FCB

Accessibility & contrast

On white

4.55
#C64198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#C64198 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64198
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64198#FFFFFF#000000##000000
##C641981.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F689B
Deuteranopia (green-blind)
#767E95
Tritanopia (blue-blind)
#D34067
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c64198;
/* rgb */ color: rgb(198, 65, 152);
/* oklch */ color: oklch(59.0% 0.191 344.4);
Tailwind
colors: {
  custom: {
    50: '#db7fb6',
    500: '#c64198',
    950: '#000000',
  },
}
SCSS
$custom: #c64198;
$custom-light: #db7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#c64198",
  "rgb": {
    "r": 198,
    "g": 65,
    "b": 152
  },
  "hsl": {
    "h": 320.752,
    "s": 53.846,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59037,
    "c": 0.19082,
    "h": 344.4
  },
  "luminance": 0.18053
}

Semantic roles & 50–950 ramp

primary
#C64198
secondary
#94CFA8
accent
#DD7D4B
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B11
muted
#837C80

Preview Lab

Preview with #C64198

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

Preview Lab → · Contrast checker → · Palette generator →

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