#C04F87#C04F87

#C04F87 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.1% C 0.157 H 352.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C04F87
RGBrgb(192, 79, 135)
HSLhsl(330, 47%, 53%)
HSVhsv(330, 59%, 75%)
CMYKcmyk(0%, 58.9%, 29.7%, 24.7%)
CIE-LABlab(50.16, 51.09, -8.36)
CIE-LCHlch(50.16, 51.77, 350.70°)
OKLaboklab(59.08% 0.1551 -0.0215)
OKLCHoklch(59.08% 0.157 352.1)
XYZxyz(28.9087, 18.5506, 24.9751)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04F87 #4FC088
analogous
#C04FC0 #C04F87 #C04F4F
triadic
#C04F87 #87C04F #4F87C0
tetradic
#C04F87 #C0C04F #4FC088 #4F4FC0
square
#C04F87 #C0C04F #4FC088 #4F4FC0
split-complementary
#C04F87 #4FC04F #4FC0C0
monochromatic
#6D274A #9A3768 #C04F87 #D07CA6 #E0A9C4

Accessibility & contrast

On white

4.46
#C04F87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#C04F87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04F87
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04F87#FFFFFF#000000##000000
##C04F871.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6B89
Deuteranopia (green-blind)
#7D7F84
Tritanopia (blue-blind)
#CD4965
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c04f87;
/* rgb */ color: rgb(192, 79, 135);
/* oklch */ color: oklch(59.1% 0.157 352.1);
Tailwind
colors: {
  custom: {
    50: '#d686aa',
    500: '#c04f87',
    950: '#000000',
  },
}
SCSS
$custom: #c04f87;
$custom-light: #d686aa;
$custom-dark: #000000;
JSON
{
  "hex": "#c04f87",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 330.265,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59084,
    "c": 0.15663,
    "h": 352.1
  },
  "luminance": 0.18548
}

Semantic roles & 50–950 ramp

primary
#C04F87
secondary
#9DCEB6
accent
#D79451
background
#FDF8FA
surface
#FBF0F4
border
#D4CBCE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C04F87

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

Preview Lab → · Contrast checker → · Palette generator →

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