#C04D8D#C04D8D

#C04D8D is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.1% C 0.163 H 348.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C04D8D
RGBrgb(192, 77, 141)
HSLhsl(327, 48%, 53%)
HSVhsv(327, 60%, 75%)
CMYKcmyk(0%, 59.9%, 26.6%, 24.7%)
CIE-LABlab(50.03, 52.79, -12.15)
CIE-LCHlch(50.03, 54.17, 347.04°)
OKLaboklab(59.05% 0.1597 -0.0318)
OKLCHoklch(59.05% 0.163 348.7)
XYZxyz(29.2010, 18.4401, 27.2156)
Luminance0.1844 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04D8D #4DC080
analogous
#BA4DC0 #C04D8D #C04D53
triadic
#C04D8D #8DC04D #4D8DC0
tetradic
#C04D8D #C0BA4D #4DC080 #4D53C0
square
#C04D8D #C0BA4D #4DC080 #4D53C0
split-complementary
#C04D8D #53C04D #4DC0BA
monochromatic
#6C264D #99366E #C04D8D #D07AAA #E0A7C7

Accessibility & contrast

On white

4.48
#C04D8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#C04D8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04D8D
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04D8D#FFFFFF#000000##000000
##C04D8D1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6A8F
Deuteranopia (green-blind)
#7B7E8A
Tritanopia (blue-blind)
#CD4967
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c04d8d;
/* rgb */ color: rgb(192, 77, 141);
/* oklch */ color: oklch(59.1% 0.163 348.7);
Tailwind
colors: {
  custom: {
    50: '#d685ae',
    500: '#c04d8d',
    950: '#000000',
  },
}
SCSS
$custom: #c04d8d;
$custom-light: #d685ae;
$custom-dark: #000000;
JSON
{
  "hex": "#c04d8d",
  "rgb": {
    "r": 192,
    "g": 77,
    "b": 141
  },
  "hsl": {
    "h": 326.609,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59054,
    "c": 0.16281,
    "h": 348.7
  },
  "luminance": 0.18437
}

Semantic roles & 50–950 ramp

primary
#C04D8D
secondary
#9BCDB2
accent
#D78C50
background
#FDF8FA
surface
#FBF0F4
border
#D4CBCE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C04D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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