#C64170#C64170

#C64170 is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.6% C 0.172 H 2.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C64170
RGBrgb(198, 65, 112)
HSLhsl(339, 54%, 52%)
HSVhsv(339, 67%, 78%)
CMYKcmyk(0%, 67.2%, 43.4%, 22.4%)
CIE-LABlab(48.21, 56.35, 2.76)
CIE-LCHlch(48.21, 56.41, 2.80°)
OKLaboklab(57.59% 0.1723 0.0078)
OKLCHoklch(57.59% 0.172 2.6)
XYZxyz(28.1057, 16.9597, 17.1196)
Luminance0.1696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64170 #41C697
analogous
#C641B3 #C64170 #C65541
triadic
#C64170 #70C641 #4170C6
tetradic
#C64170 #B3C641 #41C697 #5541C6
square
#C64170 #B3C641 #41C697 #5541C6
split-complementary
#C64170 #41C655 #41B3C6
monochromatic
#6C203B #9B2F55 #C64170 #D47093 #E29FB7

Accessibility & contrast

On white

4.78
#C64170 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C64170 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C64170
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64170#FFFFFF#000000##FFFFFF
##C641701.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6271
Deuteranopia (green-blind)
#807C6D
Tritanopia (blue-blind)
#D62F54
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c64170;
/* rgb */ color: rgb(198, 65, 112);
/* oklch */ color: oklch(57.6% 0.172 2.6);
Tailwind
colors: {
  custom: {
    50: '#dc7e98',
    500: '#c64170',
    950: '#000000',
  },
}
SCSS
$custom: #c64170;
$custom-light: #dc7e98;
$custom-dark: #000000;
JSON
{
  "hex": "#c64170",
  "rgb": {
    "r": 198,
    "g": 65,
    "b": 112
  },
  "hsl": {
    "h": 338.797,
    "s": 53.846,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57594,
    "c": 0.17248,
    "h": 2.6
  },
  "luminance": 0.16956
}

Semantic roles & 50–950 ramp

primary
#C64170
secondary
#94CFBA
accent
#DDA94B
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #C64170

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

Preview Lab → · Contrast checker → · Palette generator →

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