#C64B8F#C64B8F

#C64B8F is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.8% C 0.172 H 349.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#C64B8F
RGBrgb(198, 75, 143)
HSLhsl(327, 52%, 54%)
HSVhsv(327, 62%, 78%)
CMYKcmyk(0%, 62.1%, 27.8%, 22.4%)
CIE-LABlab(50.72, 55.73, -12.21)
CIE-LCHlch(50.72, 57.05, 347.65°)
OKLaboklab(59.77% 0.169 -0.0319)
OKLCHoklch(59.77% 0.172 349.3)
XYZxyz(30.7640, 19.0242, 28.0331)
Luminance0.1902 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64B8F #4BC682
analogous
#BF4BC6 #C64B8F #C64B51
triadic
#C64B8F #8FC64B #4B8FC6
tetradic
#C64B8F #C6BF4B #4BC682 #4B51C6
square
#C64B8F #C6BF4B #4BC682 #4B51C6
split-complementary
#C64B8F #51C64B #4BC6BF
monochromatic
#72244F #A13370 #C64B8F #D579AC #E3A8C9

Accessibility & contrast

On white

4.37
#C64B8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#C64B8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64B8F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64B8F#FFFFFF#000000##000000
##C64B8F1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6B91
Deuteranopia (green-blind)
#7D818C
Tritanopia (blue-blind)
#D34667
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c64b8f;
/* rgb */ color: rgb(198, 75, 143);
/* oklch */ color: oklch(59.8% 0.172 349.3);
Tailwind
colors: {
  custom: {
    50: '#db84af',
    500: '#c64b8f',
    950: '#000000',
  },
}
SCSS
$custom: #c64b8f;
$custom-light: #db84af;
$custom-dark: #000000;
JSON
{
  "hex": "#c64b8f",
  "rgb": {
    "r": 198,
    "g": 75,
    "b": 143
  },
  "hsl": {
    "h": 326.829,
    "s": 51.899,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59772,
    "c": 0.17197,
    "h": 349.3
  },
  "luminance": 0.19021
}

Semantic roles & 50–950 ramp

primary
#C64B8F
secondary
#9CD1B4
accent
#DB8C4C
background
#FDF8FA
surface
#FBF0F4
border
#D4CBCE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C64B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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