#C04D8A#C04D8A

#C04D8A is a mid, vivid pink. Relative luminance 0.183; OKLCH L 58.9% C 0.161 H 350.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C04D8A
RGBrgb(192, 77, 138)
HSLhsl(328, 48%, 53%)
HSVhsv(328, 60%, 75%)
CMYKcmyk(0%, 59.9%, 28.1%, 24.7%)
CIE-LABlab(49.92, 52.39, -10.51)
CIE-LCHlch(49.92, 53.44, 348.65°)
OKLaboklab(58.94% 0.1588 -0.0273)
OKLCHoklch(58.94% 0.161 350.2)
XYZxyz(28.9808, 18.3521, 26.0559)
Luminance0.1835 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04D8A #4DC083
analogous
#BD4DC0 #C04D8A #C04D50
triadic
#C04D8A #8AC04D #4D8AC0
tetradic
#C04D8A #C0BD4D #4DC083 #4D50C0
square
#C04D8A #C0BD4D #4DC083 #4D50C0
split-complementary
#C04D8A #50C04D #4DC0BD
monochromatic
#6C264B #99366B #C04D8A #D07AA8 #E0A7C5

Accessibility & contrast

On white

4.50
#C04D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#C04D8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04D8A
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04D8A#FFFFFF#000000##000000
##C04D8A1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6A8C
Deuteranopia (green-blind)
#7B7E87
Tritanopia (blue-blind)
#CD4865
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c04d8a;
/* rgb */ color: rgb(192, 77, 138);
/* oklch */ color: oklch(58.9% 0.161 350.2);
Tailwind
colors: {
  custom: {
    50: '#d685ac',
    500: '#c04d8a',
    950: '#000000',
  },
}
SCSS
$custom: #c04d8a;
$custom-light: #d685ac;
$custom-dark: #000000;
JSON
{
  "hex": "#c04d8a",
  "rgb": {
    "r": 192,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 328.174,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58941,
    "c": 0.16117,
    "h": 350.2
  },
  "luminance": 0.18349
}

Semantic roles & 50–950 ramp

primary
#C04D8A
secondary
#9BCDB3
accent
#D79050
background
#FDF8FA
surface
#FBF0F4
border
#D4CBCE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C04D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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