#C04780#C04780

#C04780 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 57.9% C 0.165 H 354.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C04780
RGBrgb(192, 71, 128)
HSLhsl(332, 49%, 52%)
HSVhsv(332, 63%, 75%)
CMYKcmyk(0%, 63%, 33.3%, 24.7%)
CIE-LABlab(48.60, 53.79, -6.47)
CIE-LCHlch(48.60, 54.18, 353.14°)
OKLaboklab(57.86% 0.1641 -0.0164)
OKLCHoklch(57.86% 0.165 354.3)
XYZxyz(27.8892, 17.2745, 22.2835)
Luminance0.1727 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04780 #47C087
analogous
#C047BC #C04780 #C04B47
triadic
#C04780 #80C047 #4780C0
tetradic
#C04780 #BCC047 #47C087 #4B47C0
square
#C04780 #BCC047 #47C087 #4B47C0
split-complementary
#C04780 #47C04B #47BCC0
monochromatic
#692444 #963362 #C04780 #D0759F #DFA2BF

Accessibility & contrast

On white

4.71
#C04780 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#C04780 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04780
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04780#FFFFFF#000000##FFFFFF
##C047801.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6582
Deuteranopia (green-blind)
#7B7C7D
Tritanopia (blue-blind)
#CE3F5E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c04780;
/* rgb */ color: rgb(192, 71, 128);
/* oklch */ color: oklch(57.9% 0.165 354.3);
Tailwind
colors: {
  custom: {
    50: '#d781a4',
    500: '#c04780',
    950: '#000000',
  },
}
SCSS
$custom: #c04780;
$custom-light: #d781a4;
$custom-dark: #000000;
JSON
{
  "hex": "#c04780",
  "rgb": {
    "r": 192,
    "g": 71,
    "b": 128
  },
  "hsl": {
    "h": 331.736,
    "s": 48.988,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57855,
    "c": 0.16489,
    "h": 354.3
  },
  "luminance": 0.17271
}

Semantic roles & 50–950 ramp

primary
#C04780
secondary
#97CCB3
accent
#D9984F
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #C04780

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

Preview Lab → · Contrast checker → · Palette generator →

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