#C04F8A#C04F8A

#C04F8A is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.2% C 0.158 H 350.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C04F8A
RGBrgb(192, 79, 138)
HSLhsl(329, 47%, 53%)
HSVhsv(329, 59%, 75%)
CMYKcmyk(0%, 58.9%, 28.1%, 24.7%)
CIE-LABlab(50.26, 51.48, -10.00)
CIE-LCHlch(50.26, 52.45, 349.00°)
OKLaboklab(59.19% 0.156 -0.026)
OKLCHoklch(59.19% 0.158 350.5)
XYZxyz(29.1229, 18.6362, 26.1032)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04F8A #4FC085
analogous
#BE4FC0 #C04F8A #C04F51
triadic
#C04F8A #8AC04F #4F8AC0
tetradic
#C04F8A #C0BE4F #4FC085 #4F51C0
square
#C04F8A #C0BE4F #4FC085 #4F51C0
split-complementary
#C04F8A #51C04F #4FC0BE
monochromatic
#6D274C #9A376B #C04F8A #D07CA8 #E0A9C6

Accessibility & contrast

On white

4.44
#C04F8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#C04F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04F8A
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04F8A#FFFFFF#000000##000000
##C04F8A1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6B8C
Deuteranopia (green-blind)
#7C7F87
Tritanopia (blue-blind)
#CD4A66
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c04f8a;
/* rgb */ color: rgb(192, 79, 138);
/* oklch */ color: oklch(59.2% 0.158 350.5);
Tailwind
colors: {
  custom: {
    50: '#d686ac',
    500: '#c04f8a',
    950: '#000000',
  },
}
SCSS
$custom: #c04f8a;
$custom-light: #d686ac;
$custom-dark: #000000;
JSON
{
  "hex": "#c04f8a",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 138
  },
  "hsl": {
    "h": 328.673,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59193,
    "c": 0.15818,
    "h": 350.5
  },
  "luminance": 0.18633
}

Semantic roles & 50–950 ramp

primary
#C04F8A
secondary
#9DCEB4
accent
#D79151
background
#FDF8FA
surface
#FBF0F4
border
#D4CBCE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C04F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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