#C64078#C64078

#C64078 is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.7% C 0.176 H 358.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C64078
RGBrgb(198, 64, 120)
HSLhsl(335, 54%, 51%)
HSVhsv(335, 68%, 78%)
CMYKcmyk(0%, 67.7%, 39.4%, 22.4%)
CIE-LABlab(48.30, 57.56, -1.97)
CIE-LCHlch(48.30, 57.59, 358.04°)
OKLaboklab(57.74% 0.1763 -0.0044)
OKLCHoklch(57.74% 0.176 358.6)
XYZxyz(28.5142, 17.0320, 19.5516)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C64078 #40C68E
analogous
#C640BB #C64078 #C64B40
triadic
#C64078 #78C640 #4078C6
tetradic
#C64078 #BBC640 #40C68E #4B40C6
square
#C64078 #BBC640 #40C68E #4B40C6
split-complementary
#C64078 #40C64B #40BBC6
monochromatic
#6C2040 #9B2E5B #C64078 #D46F99 #E29EBB

Accessibility & contrast

On white

4.77
#C64078 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C64078 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C64078
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C64078#FFFFFF#000000##FFFFFF
##C640781.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A637A
Deuteranopia (green-blind)
#7E7C75
Tritanopia (blue-blind)
#D63157
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c64078;
/* rgb */ color: rgb(198, 64, 120);
/* oklch */ color: oklch(57.7% 0.176 358.6);
Tailwind
colors: {
  custom: {
    50: '#dc7e9e',
    500: '#c64078',
    950: '#000000',
  },
}
SCSS
$custom: #c64078;
$custom-light: #dc7e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#c64078",
  "rgb": {
    "r": 198,
    "g": 64,
    "b": 120
  },
  "hsl": {
    "h": 334.925,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57739,
    "c": 0.17633,
    "h": 358.6
  },
  "luminance": 0.17029
}

Semantic roles & 50–950 ramp

primary
#C64078
secondary
#93CEB6
accent
#DDA04A
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #C64078

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

Preview Lab → · Contrast checker → · Palette generator →

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