#C04778#C04778

#C04778 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.6% C 0.162 H 358.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C04778
RGBrgb(192, 71, 120)
HSLhsl(336, 49%, 52%)
HSVhsv(336, 63%, 75%)
CMYKcmyk(0%, 63%, 37.5%, 24.7%)
CIE-LABlab(48.35, 52.86, -2.01)
CIE-LCHlch(48.35, 52.90, 357.82°)
OKLaboklab(57.58% 0.1615 -0.0046)
OKLCHoklch(57.58% 0.162 358.4)
XYZxyz(27.3833, 17.0721, 19.6188)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04778 #47C08F
analogous
#C047B5 #C04778 #C05347
triadic
#C04778 #78C047 #4778C0
tetradic
#C04778 #B5C047 #47C08F #5347C0
square
#C04778 #B5C047 #47C08F #5347C0
split-complementary
#C04778 #47C053 #47B5C0
monochromatic
#692440 #96335C #C04778 #D07599 #DFA2BB

Accessibility & contrast

On white

4.76
#C04778 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C04778
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04778#FFFFFF#000000##FFFFFF
##C047781.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6479
Deuteranopia (green-blind)
#7D7B75
Tritanopia (blue-blind)
#CF3C5A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c04778;
/* rgb */ color: rgb(192, 71, 120);
/* oklch */ color: oklch(57.6% 0.162 358.4);
Tailwind
colors: {
  custom: {
    50: '#d7819e',
    500: '#c04778',
    950: '#000000',
  },
}
SCSS
$custom: #c04778;
$custom-light: #d7819e;
$custom-dark: #000000;
JSON
{
  "hex": "#c04778",
  "rgb": {
    "r": 192,
    "g": 71,
    "b": 120
  },
  "hsl": {
    "h": 335.702,
    "s": 48.988,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57584,
    "c": 0.16158,
    "h": 358.4
  },
  "luminance": 0.17069
}

Semantic roles & 50–950 ramp

primary
#C04778
secondary
#97CCB6
accent
#D9A14F
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #C04778

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

Preview Lab → · Contrast checker → · Palette generator →

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