#C64A8B#C64A8B

#C64A8B is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.5% C 0.171 H 351.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C64A8B
RGBrgb(198, 74, 139)
HSLhsl(329, 52%, 53%)
HSVhsv(329, 63%, 78%)
CMYKcmyk(0%, 62.6%, 29.8%, 22.4%)
CIE-LABlab(50.42, 55.65, -10.27)
CIE-LCHlch(50.42, 56.59, 349.55°)
OKLaboklab(59.51% 0.1692 -0.0266)
OKLCHoklch(59.51% 0.171 351.1)
XYZxyz(30.3991, 18.7705, 26.4432)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64A8B #4AC685
analogous
#C34AC6 #C64A8B #C64A4D
triadic
#C64A8B #8BC64A #4A8BC6
tetradic
#C64A8B #C6C34A #4AC685 #4A4DC6
square
#C64A8B #C6C34A #4AC685 #4A4DC6
split-complementary
#C64A8B #4DC64A #4AC6C3
monochromatic
#72244D #A0326C #C64A8B #D579A9 #E3A7C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C64A8B#FFFFFF#000000##000000
##C64A8B1.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)
#5B6A8D
Deuteranopia (green-blind)
#7E8088
Tritanopia (blue-blind)
#D44464
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c64a8b;
/* rgb */ color: rgb(198, 74, 139);
/* oklch */ color: oklch(59.5% 0.171 351.1);
Tailwind
colors: {
  custom: {
    50: '#db83ac',
    500: '#c64a8b',
    950: '#000000',
  },
}
SCSS
$custom: #c64a8b;
$custom-light: #db83ac;
$custom-dark: #000000;
JSON
{
  "hex": "#c64a8b",
  "rgb": {
    "r": 198,
    "g": 74,
    "b": 139
  },
  "hsl": {
    "h": 328.548,
    "s": 52.101,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59506,
    "c": 0.17129,
    "h": 351.1
  },
  "luminance": 0.18767
}

Semantic roles & 50–950 ramp

primary
#C64A8B
secondary
#9BD1B5
accent
#DC904C
background
#FDF8FA
surface
#FBF0F4
border
#D4CBCE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C64A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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