#C04879#C04879

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

Color values

HEX#C04879
RGBrgb(192, 72, 121)
HSLhsl(336, 49%, 52%)
HSVhsv(336, 63%, 75%)
CMYKcmyk(0%, 62.5%, 37%, 24.7%)
CIE-LABlab(48.54, 52.54, -2.34)
CIE-LCHlch(48.54, 52.59, 357.45°)
OKLaboklab(57.74% 0.1605 -0.0055)
OKLCHoklch(57.74% 0.161 358)
XYZxyz(27.5084, 17.2247, 19.9615)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04879 #48C08F
analogous
#C048B5 #C04879 #C05348
triadic
#C04879 #79C048 #4879C0
tetradic
#C04879 #B5C048 #48C08F #5348C0
square
#C04879 #B5C048 #48C08F #5348C0
split-complementary
#C04879 #48C053 #48B5C0
monochromatic
#692440 #97345C #C04879 #D0769A #DFA3BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C04879#FFFFFF#000000##FFFFFF
##C048791.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)
#5D657A
Deuteranopia (green-blind)
#7D7C76
Tritanopia (blue-blind)
#CF3D5B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c04879;
/* rgb */ color: rgb(192, 72, 121);
/* oklch */ color: oklch(57.7% 0.161 358.0);
Tailwind
colors: {
  custom: {
    50: '#d7819f',
    500: '#c04879',
    950: '#000000',
  },
}
SCSS
$custom: #c04879;
$custom-light: #d7819f;
$custom-dark: #000000;
JSON
{
  "hex": "#c04879",
  "rgb": {
    "r": 192,
    "g": 72,
    "b": 121
  },
  "hsl": {
    "h": 335.5,
    "s": 48.78,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57736,
    "c": 0.16057,
    "h": 358
  },
  "luminance": 0.17222
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04879

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

Preview Lab → · Contrast checker → · Palette generator →

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