#C64A8F#C64A8F

#C64A8F is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.7% C 0.173 H 349.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C64A8F
RGBrgb(198, 74, 143)
HSLhsl(327, 52%, 53%)
HSVhsv(327, 63%, 78%)
CMYKcmyk(0%, 62.6%, 27.8%, 22.4%)
CIE-LABlab(50.56, 56.16, -12.44)
CIE-LCHlch(50.56, 57.52, 347.51°)
OKLaboklab(59.66% 0.1703 -0.0325)
OKLCHoklch(59.66% 0.173 349.2)
XYZxyz(30.6967, 18.8896, 28.0107)
Luminance0.1889 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64A8F #4AC681
analogous
#BF4AC6 #C64A8F #C64A51
triadic
#C64A8F #8FC64A #4A8FC6
tetradic
#C64A8F #C6BF4A #4AC681 #4A51C6
square
#C64A8F #C6BF4A #4AC681 #4A51C6
split-complementary
#C64A8F #51C64A #4AC6BF
monochromatic
#72244F #A03270 #C64A8F #D579AC #E3A7C9

Accessibility & contrast

On white

4.40
#C64A8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#C64A8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64A8F
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64A8F#FFFFFF#000000##000000
##C64A8F1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6B91
Deuteranopia (green-blind)
#7D808C
Tritanopia (blue-blind)
#D34566
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c64a8f;
/* rgb */ color: rgb(198, 74, 143);
/* oklch */ color: oklch(59.7% 0.173 349.2);
Tailwind
colors: {
  custom: {
    50: '#db84af',
    500: '#c64a8f',
    950: '#000000',
  },
}
SCSS
$custom: #c64a8f;
$custom-light: #db84af;
$custom-dark: #000000;
JSON
{
  "hex": "#c64a8f",
  "rgb": {
    "r": 198,
    "g": 74,
    "b": 143
  },
  "hsl": {
    "h": 326.613,
    "s": 52.101,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59656,
    "c": 0.17339,
    "h": 349.2
  },
  "luminance": 0.18886
}

Semantic roles & 50–950 ramp

primary
#C64A8F
secondary
#9BD1B3
accent
#DC8C4C
background
#FDF8FA
surface
#FBF0F4
border
#D4CBCE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C64A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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