#C64498#C64498

#C64498 is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.3% C 0.187 H 344.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C64498
RGBrgb(198, 68, 152)
HSLhsl(321, 53%, 52%)
HSVhsv(321, 66%, 78%)
CMYKcmyk(0%, 65.7%, 23.2%, 22.4%)
CIE-LABlab(49.99, 59.83, -18.67)
CIE-LCHlch(49.99, 62.67, 342.67°)
OKLaboklab(59.35% 0.1802 -0.0496)
OKLCHoklch(59.35% 0.187 344.6)
XYZxyz(31.0244, 18.4101, 31.6193)
Luminance0.1841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64498 #44C672
analogous
#B344C6 #C64498 #C64457
triadic
#C64498 #98C644 #4498C6
tetradic
#C64498 #C6B344 #44C672 #4457C6
square
#C64498 #C6B344 #44C672 #4457C6
split-complementary
#C64498 #57C644 #44C6B3
monochromatic
#6E2253 #9D3076 #C64498 #D473B2 #E3A2CC

Accessibility & contrast

On white

4.49
#C64498 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#C64498 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64498
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64498#FFFFFF#000000##000000
##C644981.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#51699A
Deuteranopia (green-blind)
#777F95
Tritanopia (blue-blind)
#D34368
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c64498;
/* rgb */ color: rgb(198, 68, 152);
/* oklch */ color: oklch(59.3% 0.187 344.6);
Tailwind
colors: {
  custom: {
    50: '#db81b6',
    500: '#c64498',
    950: '#000000',
  },
}
SCSS
$custom: #c64498;
$custom-light: #db81b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c64498",
  "rgb": {
    "r": 198,
    "g": 68,
    "b": 152
  },
  "hsl": {
    "h": 321.231,
    "s": 53.279,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59348,
    "c": 0.18686,
    "h": 344.6
  },
  "luminance": 0.18407
}

Semantic roles & 50–950 ramp

primary
#C64498
secondary
#97CFAB
accent
#DD7F4B
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B11
muted
#837C80

Preview Lab

Preview with #C64498

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

Preview Lab → · Contrast checker → · Palette generator →

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