#C04A79#C04A79

#C04A79 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.0% C 0.158 H 358.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C04A79
RGBrgb(192, 74, 121)
HSLhsl(336, 48%, 52%)
HSVhsv(336, 61%, 75%)
CMYKcmyk(0%, 61.5%, 37%, 24.7%)
CIE-LABlab(48.87, 51.65, -1.86)
CIE-LCHlch(48.87, 51.69, 357.94°)
OKLaboklab(57.98% 0.1577 -0.0042)
OKLCHoklch(57.98% 0.158 358.5)
XYZxyz(27.6398, 17.4875, 20.0053)
Luminance0.1749 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04A79 #4AC091
analogous
#C04AB4 #C04A79 #C0564A
triadic
#C04A79 #79C04A #4A79C0
tetradic
#C04A79 #B4C04A #4AC091 #564AC0
square
#C04A79 #B4C04A #4AC091 #564AC0
split-complementary
#C04A79 #4AC056 #4AB4C0
monochromatic
#6B2541 #98355C #C04A79 #D0779B #E0A5BC

Accessibility & contrast

On white

4.67
#C04A79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#C04A79 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C04A79
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04A79#FFFFFF#000000##FFFFFF
##C04A791.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F667A
Deuteranopia (green-blind)
#7E7C76
Tritanopia (blue-blind)
#CF405C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c04a79;
/* rgb */ color: rgb(192, 74, 121);
/* oklch */ color: oklch(58.0% 0.158 358.5);
Tailwind
colors: {
  custom: {
    50: '#d7839f',
    500: '#c04a79',
    950: '#000000',
  },
}
SCSS
$custom: #c04a79;
$custom-light: #d7839f;
$custom-dark: #000000;
JSON
{
  "hex": "#c04a79",
  "rgb": {
    "r": 192,
    "g": 74,
    "b": 121
  },
  "hsl": {
    "h": 336.102,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57979,
    "c": 0.15777,
    "h": 358.5
  },
  "luminance": 0.17485
}

Semantic roles & 50–950 ramp

primary
#C04A79
secondary
#99CDB8
accent
#D8A250
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #C04A79

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

Preview Lab → · Contrast checker → · Palette generator →

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