#C64871#C64871

#C64871 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.4% C 0.164 H 3.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C64871
RGBrgb(198, 72, 113)
HSLhsl(340, 53%, 53%)
HSVhsv(340, 64%, 78%)
CMYKcmyk(0%, 63.6%, 42.9%, 22.4%)
CIE-LABlab(49.30, 53.56, 3.72)
CIE-LCHlch(49.30, 53.69, 3.98°)
OKLaboklab(58.41% 0.1635 0.0102)
OKLCHoklch(58.41% 0.164 3.6)
XYZxyz(28.5887, 17.8361, 17.5568)
Luminance0.1783 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64871 #48C69D
analogous
#C648B0 #C64871 #C65E48
triadic
#C64871 #71C648 #4871C6
tetradic
#C64871 #B0C648 #48C69D #5E48C6
square
#C64871 #B0C648 #48C69D #5E48C6
split-complementary
#C64871 #48C65E #48B0C6
monochromatic
#71233C #9F3255 #C64871 #D57795 #E3A5B9

Accessibility & contrast

On white

4.60
#C64871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#C64871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C64871
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64871#FFFFFF#000000##FFFFFF
##C648711.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616672
Deuteranopia (green-blind)
#837E6E
Tritanopia (blue-blind)
#D63958
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c64871;
/* rgb */ color: rgb(198, 72, 113);
/* oklch */ color: oklch(58.4% 0.164 3.6);
Tailwind
colors: {
  custom: {
    50: '#dc8299',
    500: '#c64871',
    950: '#000000',
  },
}
SCSS
$custom: #c64871;
$custom-light: #dc8299;
$custom-dark: #000000;
JSON
{
  "hex": "#c64871",
  "rgb": {
    "r": 198,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 340.476,
    "s": 52.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58411,
    "c": 0.16382,
    "h": 3.6
  },
  "luminance": 0.17833
}

Semantic roles & 50–950 ramp

primary
#C64871
secondary
#9AD0BE
accent
#DCAD4C
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #C64871

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

Preview Lab → · Contrast checker → · Palette generator →

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