#C64771#C64771

#C64771 is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.3% C 0.165 H 3.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C64771
RGBrgb(198, 71, 113)
HSLhsl(340, 53%, 53%)
HSVhsv(340, 64%, 78%)
CMYKcmyk(0%, 64.1%, 42.9%, 22.4%)
CIE-LABlab(49.14, 53.98, 3.50)
CIE-LCHlch(49.14, 54.10, 3.71°)
OKLaboklab(58.29% 0.1649 0.0096)
OKLCHoklch(58.29% 0.165 3.3)
XYZxyz(28.5246, 17.7079, 17.5354)
Luminance0.1770 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64771 #47C69C
analogous
#C647B1 #C64771 #C65C47
triadic
#C64771 #71C647 #4771C6
tetradic
#C64771 #B1C647 #47C69C #5C47C6
square
#C64771 #B1C647 #47C69C #5C47C6
split-complementary
#C64771 #47C65C #47B1C6
monochromatic
#70233C #9F3155 #C64771 #D47695 #E3A4B9

Accessibility & contrast

On white

4.62
#C64771 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#C64771 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C64771
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64771#FFFFFF#000000##FFFFFF
##C647711.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616572
Deuteranopia (green-blind)
#827E6E
Tritanopia (blue-blind)
#D63757
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c64771;
/* rgb */ color: rgb(198, 71, 113);
/* oklch */ color: oklch(58.3% 0.165 3.3);
Tailwind
colors: {
  custom: {
    50: '#dc8199',
    500: '#c64771',
    950: '#000000',
  },
}
SCSS
$custom: #c64771;
$custom-light: #dc8199;
$custom-dark: #000000;
JSON
{
  "hex": "#c64771",
  "rgb": {
    "r": 198,
    "g": 71,
    "b": 113
  },
  "hsl": {
    "h": 340.157,
    "s": 52.697,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58294,
    "c": 0.16513,
    "h": 3.3
  },
  "luminance": 0.17704
}

Semantic roles & 50–950 ramp

primary
#C64771
secondary
#99D0BE
accent
#DCAC4C
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #C64771

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

Preview Lab → · Contrast checker → · Palette generator →

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