#C04099#C04099

#C04099 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 58.1% C 0.188 H 342.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C04099
RGBrgb(192, 64, 153)
HSLhsl(318, 50%, 50%)
HSVhsv(318, 67%, 75%)
CMYKcmyk(0%, 66.7%, 20.3%, 24.7%)
CIE-LABlab(48.48, 59.91, -21.66)
CIE-LCHlch(48.48, 63.71, 340.12°)
OKLaboklab(58.07% 0.1793 -0.058)
OKLCHoklch(58.07% 0.188 342.1)
XYZxyz(29.3223, 17.1760, 31.9018)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04099 #40C067
analogous
#A740C0 #C04099 #C04059
triadic
#C04099 #99C040 #4099C0
tetradic
#C04099 #C0A740 #40C067 #4059C0
square
#C04099 #C0A740 #40C067 #4059C0
split-complementary
#C04099 #59C040 #40C0A7
monochromatic
#642150 #923075 #C04099 #CF6EB2 #DE9CCA

Accessibility & contrast

On white

4.74
#C04099 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C04099 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04099
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04099#FFFFFF#000000##FFFFFF
##C040991.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A669C
Deuteranopia (green-blind)
#717B96
Tritanopia (blue-blind)
#CC4167
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c04099;
/* rgb */ color: rgb(192, 64, 153);
/* oklch */ color: oklch(58.1% 0.188 342.1);
Tailwind
colors: {
  custom: {
    50: '#d77eb7',
    500: '#c04099',
    950: '#000000',
  },
}
SCSS
$custom: #c04099;
$custom-light: #d77eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#c04099",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 318.281,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58068,
    "c": 0.18844,
    "h": 342.1
  },
  "luminance": 0.17173
}

Semantic roles & 50–950 ramp

primary
#C04099
secondary
#91CBA3
accent
#DA794E
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B11
muted
#837C80

Preview Lab

Preview with #C04099

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

Preview Lab → · Contrast checker → · Palette generator →

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