#C04F8D#C04F8D

#C04F8D is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.3% C 0.160 H 349.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C04F8D
RGBrgb(192, 79, 141)
HSLhsl(327, 47%, 53%)
HSVhsv(327, 59%, 75%)
CMYKcmyk(0%, 58.9%, 26.6%, 24.7%)
CIE-LABlab(50.36, 51.88, -11.64)
CIE-LCHlch(50.36, 53.17, 347.36°)
OKLaboklab(59.3% 0.1569 -0.0304)
OKLCHoklch(59.3% 0.16 349)
XYZxyz(29.3430, 18.7243, 27.2629)
Luminance0.1872 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04F8D #4FC082
analogous
#BA4FC0 #C04F8D #C04F54
triadic
#C04F8D #8DC04F #4F8DC0
tetradic
#C04F8D #C0BA4F #4FC082 #4F54C0
square
#C04F8D #C0BA4F #4FC082 #4F54C0
split-complementary
#C04F8D #54C04F #4FC0BA
monochromatic
#6D274E #9A376E #C04F8D #D07CAA #E0A9C7

Accessibility & contrast

On white

4.43
#C04F8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#C04F8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04F8D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04F8D#FFFFFF#000000##000000
##C04F8D1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6B8F
Deuteranopia (green-blind)
#7C7F8A
Tritanopia (blue-blind)
#CD4B68
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c04f8d;
/* rgb */ color: rgb(192, 79, 141);
/* oklch */ color: oklch(59.3% 0.160 349.0);
Tailwind
colors: {
  custom: {
    50: '#d686ae',
    500: '#c04f8d',
    950: '#000000',
  },
}
SCSS
$custom: #c04f8d;
$custom-light: #d686ae;
$custom-dark: #000000;
JSON
{
  "hex": "#c04f8d",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 327.08,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59304,
    "c": 0.15981,
    "h": 349
  },
  "luminance": 0.18722
}

Semantic roles & 50–950 ramp

primary
#C04F8D
secondary
#9DCEB3
accent
#D78D51
background
#FDF8FA
surface
#FBF0F4
border
#D4CBCE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C04F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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