#C64F8A#C64F8A

#C64F8A is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.1% C 0.164 H 352.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#C64F8A
RGBrgb(198, 79, 138)
HSLhsl(330, 51%, 54%)
HSVhsv(330, 60%, 78%)
CMYKcmyk(0%, 60.1%, 30.3%, 22.4%)
CIE-LABlab(51.19, 53.34, -8.51)
CIE-LCHlch(51.19, 54.01, 350.94°)
OKLaboklab(60.07% 0.1621 -0.0219)
OKLCHoklch(60.07% 0.164 352.3)
XYZxyz(30.6735, 19.4358, 26.1759)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64F8A #4FC68B
analogous
#C64FC6 #C64F8A #C6504F
triadic
#C64F8A #8AC64F #4F8AC6
tetradic
#C64F8A #C6C64F #4FC68B #504FC6
square
#C64F8A #C6C64F #4FC68B #504FC6
split-complementary
#C64F8A #4FC650 #4FC6C6
monochromatic
#75264D #A3356B #C64F8A #D57DA9 #E4ABC7

Accessibility & contrast

On white

4.30
#C64F8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#C64F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64F8A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64F8A#FFFFFF#000000##000000
##C64F8A1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#606C8C
Deuteranopia (green-blind)
#808287
Tritanopia (blue-blind)
#D44966
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c64f8a;
/* rgb */ color: rgb(198, 79, 138);
/* oklch */ color: oklch(60.1% 0.164 352.3);
Tailwind
colors: {
  custom: {
    50: '#db86ac',
    500: '#c64f8a',
    950: '#000000',
  },
}
SCSS
$custom: #c64f8a;
$custom-light: #db86ac;
$custom-dark: #000000;
JSON
{
  "hex": "#c64f8a",
  "rgb": {
    "r": 198,
    "g": 79,
    "b": 138
  },
  "hsl": {
    "h": 330.252,
    "s": 51.073,
    "l": 54.314
  },
  "oklch": {
    "l": 0.6007,
    "c": 0.1636,
    "h": 352.3
  },
  "luminance": 0.19433
}

Semantic roles & 50–950 ramp

primary
#C64F8A
secondary
#9FD2B9
accent
#DB944D
background
#FDF8FA
surface
#FBF0F4
border
#D4CBCE
text
#150C10
muted
#837D7F

Preview Lab

Preview with #C64F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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