#C04079#C04079

#C04079 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.8% C 0.171 H 356.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C04079
RGBrgb(192, 64, 121)
HSLhsl(333, 50%, 50%)
HSVhsv(333, 67%, 75%)
CMYKcmyk(0%, 66.7%, 37%, 24.7%)
CIE-LABlab(47.31, 55.90, -4.15)
CIE-LCHlch(47.31, 56.05, 355.75°)
OKLaboklab(56.82% 0.171 -0.0102)
OKLCHoklch(56.82% 0.171 356.6)
XYZxyz(27.0245, 16.2569, 19.8002)
Luminance0.1625 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04079 #40C087
analogous
#C040B9 #C04079 #C04740
triadic
#C04079 #79C040 #4079C0
tetradic
#C04079 #B9C040 #40C087 #4740C0
square
#C04079 #B9C040 #40C087 #4740C0
split-complementary
#C04079 #40C047 #40B9C0
monochromatic
#64213F #92305C #C04079 #CF6E99 #DE9CBA

Accessibility & contrast

On white

4.94
#C04079 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C04079 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04079
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04079#FFFFFF#000000##FFFFFF
##C040791.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57617B
Deuteranopia (green-blind)
#7A7976
Tritanopia (blue-blind)
#CF3457
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c04079;
/* rgb */ color: rgb(192, 64, 121);
/* oklch */ color: oklch(56.8% 0.171 356.6);
Tailwind
colors: {
  custom: {
    50: '#d77d9f',
    500: '#c04079',
    950: '#000000',
  },
}
SCSS
$custom: #c04079;
$custom-light: #d77d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#c04079",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 121
  },
  "hsl": {
    "h": 333.281,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56823,
    "c": 0.17135,
    "h": 356.6
  },
  "luminance": 0.16254
}

Semantic roles & 50–950 ramp

primary
#C04079
secondary
#91CBB1
accent
#DA9C4E
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #C04079

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

Preview Lab → · Contrast checker → · Palette generator →

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