#C64787#C64787

#C64787 is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.0% C 0.173 H 352.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C64787
RGBrgb(198, 71, 135)
HSLhsl(330, 53%, 53%)
HSVhsv(330, 64%, 78%)
CMYKcmyk(0%, 64.1%, 31.8%, 22.4%)
CIE-LABlab(49.82, 56.43, -8.78)
CIE-LCHlch(49.82, 57.11, 351.16°)
OKLaboklab(59.02% 0.172 -0.0226)
OKLCHoklch(59.02% 0.173 352.5)
XYZxyz(29.9166, 18.2647, 24.8669)
Luminance0.1826 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64787 #47C686
analogous
#C647C6 #C64787 #C64747
triadic
#C64787 #87C647 #4787C6
tetradic
#C64787 #C6C647 #47C686 #4747C6
square
#C64787 #C6C647 #47C686 #4747C6
split-complementary
#C64787 #47C647 #47C6C6
monochromatic
#70234A #9F3168 #C64787 #D476A5 #E3A4C4

Accessibility & contrast

On white

4.51
#C64787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#C64787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C64787
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64787#FFFFFF#000000##000000
##C647871.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6889
Deuteranopia (green-blind)
#7D7F84
Tritanopia (blue-blind)
#D43F61
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c64787;
/* rgb */ color: rgb(198, 71, 135);
/* oklch */ color: oklch(59.0% 0.173 352.5);
Tailwind
colors: {
  custom: {
    50: '#db82aa',
    500: '#c64787',
    950: '#000000',
  },
}
SCSS
$custom: #c64787;
$custom-light: #db82aa;
$custom-dark: #000000;
JSON
{
  "hex": "#c64787",
  "rgb": {
    "r": 198,
    "g": 71,
    "b": 135
  },
  "hsl": {
    "h": 329.764,
    "s": 52.697,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59017,
    "c": 0.17347,
    "h": 352.5
  },
  "luminance": 0.18262
}

Semantic roles & 50–950 ramp

primary
#C64787
secondary
#99D0B4
accent
#DC934C
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#150B10
muted
#847C7F

Preview Lab

Preview with #C64787

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

Preview Lab → · Contrast checker → · Palette generator →

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