#C04081#C04081

#C04081 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.1% C 0.175 H 352.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#C04081
RGBrgb(192, 64, 129)
HSLhsl(330, 50%, 50%)
HSVhsv(330, 67%, 75%)
CMYKcmyk(0%, 66.7%, 32.8%, 24.7%)
CIE-LABlab(47.57, 56.82, -8.62)
CIE-LCHlch(47.57, 57.47, 351.38°)
OKLaboklab(57.11% 0.1735 -0.0221)
OKLCHoklch(57.11% 0.175 352.7)
XYZxyz(27.5355, 16.4613, 22.4919)
Luminance0.1646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04081 #40C07F
analogous
#BF40C0 #C04081 #C04041
triadic
#C04081 #81C040 #4081C0
tetradic
#C04081 #C0BF40 #40C07F #4041C0
square
#C04081 #C0BF40 #40C07F #4041C0
split-complementary
#C04081 #41C040 #40C0BF
monochromatic
#642143 #923062 #C04081 #CF6E9F #DE9CBE

Accessibility & contrast

On white

4.89
#C04081 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C04081
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04081#FFFFFF#000000##FFFFFF
##C040811.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c04081;
/* rgb */ color: rgb(192, 64, 129);
/* oklch */ color: oklch(57.1% 0.175 352.7);
Tailwind
colors: {
  custom: {
    50: '#d77da5',
    500: '#c04081',
    950: '#000000',
  },
}
SCSS
$custom: #c04081;
$custom-light: #d77da5;
$custom-dark: #000000;
JSON
{
  "hex": "#c04081",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 129
  },
  "hsl": {
    "h": 329.531,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57105,
    "c": 0.17487,
    "h": 352.7
  },
  "luminance": 0.16458
}

Semantic roles & 50–950 ramp

primary
#C04081
secondary
#91CBAD
accent
#DA934E
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #C04081

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

Preview Lab → · Contrast checker → · Palette generator →

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