#C04878#C04878

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

Color values

HEX#C04878
RGBrgb(192, 72, 120)
HSLhsl(336, 49%, 52%)
HSVhsv(336, 63%, 75%)
CMYKcmyk(0%, 62.5%, 37.5%, 24.7%)
CIE-LABlab(48.51, 52.42, -1.78)
CIE-LCHlch(48.51, 52.45, 358.06°)
OKLaboklab(57.7% 0.1601 -0.004)
OKLCHoklch(57.7% 0.16 358.6)
XYZxyz(27.4474, 17.2003, 19.6402)
Luminance0.1720 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04878 #48C090
analogous
#C048B4 #C04878 #C05448
triadic
#C04878 #78C048 #4878C0
tetradic
#C04878 #B4C048 #48C090 #5448C0
square
#C04878 #B4C048 #48C090 #5448C0
split-complementary
#C04878 #48C054 #48B4C0
monochromatic
#692440 #97345C #C04878 #D0769A #DFA3BB

Accessibility & contrast

On white

4.73
#C04878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#C04878 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04878
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04878#FFFFFF#000000##FFFFFF
##C048781.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6579
Deuteranopia (green-blind)
#7D7C75
Tritanopia (blue-blind)
#CF3D5B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c04878;
/* rgb */ color: rgb(192, 72, 120);
/* oklch */ color: oklch(57.7% 0.160 358.6);
Tailwind
colors: {
  custom: {
    50: '#d7819e',
    500: '#c04878',
    950: '#000000',
  },
}
SCSS
$custom: #c04878;
$custom-light: #d7819e;
$custom-dark: #000000;
JSON
{
  "hex": "#c04878",
  "rgb": {
    "r": 192,
    "g": 72,
    "b": 120
  },
  "hsl": {
    "h": 336,
    "s": 48.78,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57704,
    "c": 0.16019,
    "h": 358.6
  },
  "luminance": 0.17197
}

Semantic roles & 50–950 ramp

primary
#C04878
secondary
#98CCB7
accent
#D8A24F
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #C04878

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

Preview Lab → · Contrast checker → · Palette generator →

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