#C04080#C04080

#C04080 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.1% C 0.174 H 353.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C04080
RGBrgb(192, 64, 128)
HSLhsl(330, 50%, 50%)
HSVhsv(330, 67%, 75%)
CMYKcmyk(0%, 66.7%, 33.3%, 24.7%)
CIE-LABlab(47.54, 56.70, -8.06)
CIE-LCHlch(47.54, 57.27, 351.91°)
OKLaboklab(57.07% 0.1732 -0.0206)
OKLCHoklch(57.07% 0.174 353.2)
XYZxyz(27.4694, 16.4348, 22.1435)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04080 #40C080
analogous
#C040C0 #C04080 #C04040
triadic
#C04080 #80C040 #4080C0
tetradic
#C04080 #C0C040 #40C080 #4040C0
square
#C04080 #C0C040 #40C080 #4040C0
split-complementary
#C04080 #40C040 #40C0C0
monochromatic
#642143 #923061 #C04080 #CF6E9F #DE9CBD

Accessibility & contrast

On white

4.90
#C04080 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#C04080 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04080
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04080#FFFFFF#000000##FFFFFF
##C040801.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556282
Deuteranopia (green-blind)
#78797D
Tritanopia (blue-blind)
#CE375B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c04080;
/* rgb */ color: rgb(192, 64, 128);
/* oklch */ color: oklch(57.1% 0.174 353.2);
Tailwind
colors: {
  custom: {
    50: '#d77da4',
    500: '#c04080',
    950: '#000000',
  },
}
SCSS
$custom: #c04080;
$custom-light: #d77da4;
$custom-dark: #000000;
JSON
{
  "hex": "#c04080",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 128
  },
  "hsl": {
    "h": 330,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57069,
    "c": 0.17439,
    "h": 353.2
  },
  "luminance": 0.16432
}

Semantic roles & 50–950 ramp

primary
#C04080
secondary
#91CBAE
accent
#DA944E
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #C04080

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

Preview Lab → · Contrast checker → · Palette generator →

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