#C04579#C04579

#C04579 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.4% C 0.165 H 357.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C04579
RGBrgb(192, 69, 121)
HSLhsl(335, 49%, 51%)
HSVhsv(335, 64%, 75%)
CMYKcmyk(0%, 64.1%, 37%, 24.7%)
CIE-LABlab(48.07, 53.83, -3.04)
CIE-LCHlch(48.07, 53.91, 356.77°)
OKLaboklab(57.38% 0.1645 -0.0073)
OKLCHoklch(57.38% 0.165 357.5)
XYZxyz(27.3192, 16.8463, 19.8984)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04579 #45C08C
analogous
#C045B7 #C04579 #C04E45
triadic
#C04579 #79C045 #4579C0
tetradic
#C04579 #B7C045 #45C08C #4E45C0
square
#C04579 #B7C045 #45C08C #4E45C0
split-complementary
#C04579 #45C04E #45B7C0
monochromatic
#682340 #95335C #C04579 #CF739A #DFA0BB

Accessibility & contrast

On white

4.81
#C04579 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#C04579 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04579
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04579#FFFFFF#000000##FFFFFF
##C045791.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B647A
Deuteranopia (green-blind)
#7C7B76
Tritanopia (blue-blind)
#CF3A5A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c04579;
/* rgb */ color: rgb(192, 69, 121);
/* oklch */ color: oklch(57.4% 0.165 357.5);
Tailwind
colors: {
  custom: {
    50: '#d7809f',
    500: '#c04579',
    950: '#000000',
  },
}
SCSS
$custom: #c04579;
$custom-light: #d7809f;
$custom-dark: #000000;
JSON
{
  "hex": "#c04579",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 121
  },
  "hsl": {
    "h": 334.634,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57383,
    "c": 0.16469,
    "h": 357.5
  },
  "luminance": 0.16843
}

Semantic roles & 50–950 ramp

primary
#C04579
secondary
#95CCB5
accent
#D99F4F
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #C04579

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

Preview Lab → · Contrast checker → · Palette generator →

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